##// END OF EJS Templates
ui: replace parentui mechanism with repo.baseui
ui: replace parentui mechanism with repo.baseui

File last commit:

r7787:b8d750da default
r8189:d2899a85 default
Show More
test-hook.out
154 lines | 7.7 KiB | text/plain | TextLexer
Patrick Mezard
printenv: filter empty environment variables for portability.
r4643 precommit hook: HG_PARENT1=0000000000000000000000000000000000000000
Matt Mackall
Introduce HG_PREPEND to solve pretxn races...
r7787 pretxncommit hook: HG_NODE=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b HG_PARENT1=0000000000000000000000000000000000000000 HG_PENDING=true
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 0:29b62aeb769f
Patrick Mezard
printenv: filter empty environment variables for portability.
r4643 commit hook: HG_NODE=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b HG_PARENT1=0000000000000000000000000000000000000000
commit.b hook: HG_NODE=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b HG_PARENT1=0000000000000000000000000000000000000000
Adrian Buehlmann
clone: print "updating working directory" status message...
r6338 updating working directory
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Patrick Mezard
printenv: filter empty environment variables for portability.
r4643 precommit hook: HG_PARENT1=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b
Matt Mackall
Introduce HG_PREPEND to solve pretxn races...
r7787 pretxncommit hook: HG_NODE=b702efe9688826e3a91283852b328b84dbf37bc2 HG_PARENT1=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b HG_PENDING=true
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 1:b702efe96888
Patrick Mezard
printenv: filter empty environment variables for portability.
r4643 commit hook: HG_NODE=b702efe9688826e3a91283852b328b84dbf37bc2 HG_PARENT1=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b
commit.b hook: HG_NODE=b702efe9688826e3a91283852b328b84dbf37bc2 HG_PARENT1=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Patrick Mezard
printenv: filter empty environment variables for portability.
r4643 precommit hook: HG_PARENT1=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b
Matt Mackall
Introduce HG_PREPEND to solve pretxn races...
r7787 pretxncommit hook: HG_NODE=1324a5531bac09b329c3845d35ae6a7526874edb HG_PARENT1=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b HG_PENDING=true
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 2:1324a5531bac
Patrick Mezard
printenv: filter empty environment variables for portability.
r4643 commit hook: HG_NODE=1324a5531bac09b329c3845d35ae6a7526874edb HG_PARENT1=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b
commit.b hook: HG_NODE=1324a5531bac09b329c3845d35ae6a7526874edb HG_PARENT1=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b
Dirkjan Ochtman
warn about new heads on commit (issue842)
r6336 created new head
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
(branch merge, don't forget to commit)
Alexis S. L. Carvalho
test-hook: use printenv.py
r4286 precommit hook: HG_PARENT1=1324a5531bac09b329c3845d35ae6a7526874edb HG_PARENT2=b702efe9688826e3a91283852b328b84dbf37bc2
Matt Mackall
Introduce HG_PREPEND to solve pretxn races...
r7787 pretxncommit hook: HG_NODE=4c52fb2e402287dd5dc052090682536c8406c321 HG_PARENT1=1324a5531bac09b329c3845d35ae6a7526874edb HG_PARENT2=b702efe9688826e3a91283852b328b84dbf37bc2 HG_PENDING=true
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 3:4c52fb2e4022
Alexis S. L. Carvalho
test-hook: use printenv.py
r4286 commit hook: HG_NODE=4c52fb2e402287dd5dc052090682536c8406c321 HG_PARENT1=1324a5531bac09b329c3845d35ae6a7526874edb HG_PARENT2=b702efe9688826e3a91283852b328b84dbf37bc2
commit.b hook: HG_NODE=4c52fb2e402287dd5dc052090682536c8406c321 HG_PARENT1=1324a5531bac09b329c3845d35ae6a7526874edb HG_PARENT2=b702efe9688826e3a91283852b328b84dbf37bc2
Thomas Arendsen Hein
Use printenv.py for pre/post-command-hooks (fixes tests on Solaris, too)
r4634 pre-identify hook: HG_ARGS=id
Matt Mackall
dispatch: add generic pre- and post-command hooks
r4630 warning: pre-identify hook exited with status 1
Thomas Arendsen Hein
Use printenv.py for pre/post-command-hooks (fixes tests on Solaris, too)
r4634 pre-cat hook: HG_ARGS=cat b
post-cat hook: HG_ARGS=cat b HG_RESULT=0
Matt Mackall
dispatch: add generic pre- and post-command hooks
r4630 b
Alexis S. L. Carvalho
test-hook: use printenv.py
r4286 prechangegroup hook: HG_SOURCE=pull HG_URL=file:
changegroup hook: HG_NODE=b702efe9688826e3a91283852b328b84dbf37bc2 HG_SOURCE=pull HG_URL=file:
incoming hook: HG_NODE=b702efe9688826e3a91283852b328b84dbf37bc2 HG_SOURCE=pull HG_URL=file:
incoming hook: HG_NODE=1324a5531bac09b329c3845d35ae6a7526874edb HG_SOURCE=pull HG_URL=file:
incoming hook: HG_NODE=4c52fb2e402287dd5dc052090682536c8406c321 HG_SOURCE=pull HG_URL=file:
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 pulling from ../a
searching for changes
adding changesets
adding manifests
adding file changes
added 3 changesets with 2 changes to 2 files
(run 'hg update' to get a working copy)
Alexis S. L. Carvalho
test-hook: use printenv.py
r4286 pretag hook: HG_LOCAL=0 HG_NODE=4c52fb2e402287dd5dc052090682536c8406c321 HG_TAG=a
Patrick Mezard
printenv: filter empty environment variables for portability.
r4643 precommit hook: HG_PARENT1=4c52fb2e402287dd5dc052090682536c8406c321
Matt Mackall
Introduce HG_PREPEND to solve pretxn races...
r7787 pretxncommit hook: HG_NODE=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 HG_PARENT1=4c52fb2e402287dd5dc052090682536c8406c321 HG_PENDING=true
Matt Mackall
tag: shorten hash in default commit message...
r2967 4:8ea2ef7ad3e8
Patrick Mezard
printenv: filter empty environment variables for portability.
r4643 commit hook: HG_NODE=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 HG_PARENT1=4c52fb2e402287dd5dc052090682536c8406c321
commit.b hook: HG_NODE=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 HG_PARENT1=4c52fb2e402287dd5dc052090682536c8406c321
Alexis S. L. Carvalho
test-hook: use printenv.py
r4286 tag hook: HG_LOCAL=0 HG_NODE=4c52fb2e402287dd5dc052090682536c8406c321 HG_TAG=a
pretag hook: HG_LOCAL=1 HG_NODE=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 HG_TAG=la
tag hook: HG_LOCAL=1 HG_NODE=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 HG_TAG=la
pretag hook: HG_LOCAL=0 HG_NODE=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 HG_TAG=fa
pretag.forbid hook: HG_LOCAL=0 HG_NODE=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 HG_TAG=fa
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 abort: pretag.forbid hook exited with status 1
Alexis S. L. Carvalho
test-hook: use printenv.py
r4286 pretag hook: HG_LOCAL=1 HG_NODE=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 HG_TAG=fla
pretag.forbid hook: HG_LOCAL=1 HG_NODE=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 HG_TAG=fla
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 abort: pretag.forbid hook exited with status 1
Matt Mackall
tag: shorten hash in default commit message...
r2967 4:8ea2ef7ad3e8
Patrick Mezard
printenv: filter empty environment variables for portability.
r4643 precommit hook: HG_PARENT1=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198
Matt Mackall
Introduce HG_PREPEND to solve pretxn races...
r7787 pretxncommit hook: HG_NODE=fad284daf8c032148abaffcd745dafeceefceb61 HG_PARENT1=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 HG_PENDING=true
Matt Mackall
tag: shorten hash in default commit message...
r2967 5:fad284daf8c0
Matt Mackall
Introduce HG_PREPEND to solve pretxn races...
r7787 pretxncommit.forbid hook: HG_NODE=fad284daf8c032148abaffcd745dafeceefceb61 HG_PARENT1=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 HG_PENDING=true
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 transaction abort!
rollback completed
Matt Mackall
Use a weakref for recursive transactions
r4916 abort: pretxncommit.forbid1 hook exited with status 1
Matt Mackall
tag: shorten hash in default commit message...
r2967 4:8ea2ef7ad3e8
Patrick Mezard
printenv: filter empty environment variables for portability.
r4643 precommit hook: HG_PARENT1=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198
precommit.forbid hook: HG_PARENT1=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 abort: precommit.forbid hook exited with status 1
Matt Mackall
tag: shorten hash in default commit message...
r2967 4:8ea2ef7ad3e8
Patrick Mezard
printenv: filter empty environment variables for portability.
r4643 preupdate hook: HG_PARENT1=b702efe96888
Vadim Gelfer
hooks: add preupdate and update hooks....
r2266 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
Patrick Mezard
printenv: filter empty environment variables for portability.
r4643 preupdate hook: HG_PARENT1=8ea2ef7ad3e8
update hook: HG_ERROR=0 HG_PARENT1=8ea2ef7ad3e8
Vadim Gelfer
hooks: add preupdate and update hooks....
r2266 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 3:4c52fb2e4022
Alexis S. L. Carvalho
test-hook: use printenv.py
r4286 prechangegroup.forbid hook: HG_SOURCE=pull HG_URL=file:
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 pulling from ../a
searching for changes
abort: prechangegroup.forbid hook exited with status 1
Alexis S. L. Carvalho
test-hook: use printenv.py
r4286 4:8ea2ef7ad3e8
Matt Mackall
Introduce HG_PREPEND to solve pretxn races...
r7787 pretxnchangegroup.forbid hook: HG_NODE=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 HG_PENDING=true HG_SOURCE=pull HG_URL=file:
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 pulling from ../a
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
transaction abort!
rollback completed
Matt Mackall
Use a weakref for recursive transactions
r4916 abort: pretxnchangegroup.forbid1 hook exited with status 1
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 3:4c52fb2e4022
Alexis S. L. Carvalho
test-hook: use printenv.py
r4286 preoutgoing hook: HG_SOURCE=pull
outgoing hook: HG_NODE=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 HG_SOURCE=pull
Vadim Gelfer
add preoutgoing and outgoing hooks....
r1736 pulling from ../a
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
(run 'hg update' to get a working copy)
rolling back last transaction
Alexis S. L. Carvalho
test-hook: use printenv.py
r4286 preoutgoing hook: HG_SOURCE=pull
preoutgoing.forbid hook: HG_SOURCE=pull
Vadim Gelfer
add preoutgoing and outgoing hooks....
r1736 pulling from ../a
searching for changes
abort: preoutgoing.forbid hook exited with status 1
Vadim Gelfer
support hooks written in python....
r2155 # test python hooks
error: preoutgoing.broken hook raised an exception: unsupported operand type(s) for +: 'int' and 'dict'
error: preoutgoing.raise hook raised an exception: exception from hook
pulling from ../a
searching for changes
error: preoutgoing.abort hook failed: raise abort from hook
abort: raise abort from hook
pulling from ../a
searching for changes
hook args:
hooktype preoutgoing
source pull
abort: preoutgoing.fail hook failed
pulling from ../a
searching for changes
abort: preoutgoing.uncallable hook is invalid ("hooktests.uncallable" is not callable)
pulling from ../a
searching for changes
abort: preoutgoing.nohook hook is invalid ("hooktests.nohook" is not defined)
pulling from ../a
searching for changes
abort: preoutgoing.nomodule hook is invalid ("nomodule" not in a module)
pulling from ../a
searching for changes
abort: preoutgoing.badmodule hook is invalid (import of "nomodule" failed)
pulling from ../a
searching for changes
abort: preoutgoing.unreachable hook is invalid (import of "hooktests.container" failed)
pulling from ../a
searching for changes
hook args:
hooktype preoutgoing
source pull
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
(run 'hg update' to get a working copy)
# make sure --traceback works
Traceback (most recent call last):
Alexis S. L. Carvalho
Handle functions as the value of a hooks.<name> config variable...
r4070 Automatically installed hook
foo
calling hook commit.auto: <function autohook>
Automatically installed hook
Gilles Moris
Have verbose and debug flag print the changeset rev and hash when committing....
r6935 committed changeset 1:52998019f6252a2b893452765fcb0a47351a5708
Alexis S. L. Carvalho
Fix hg showconfig traceback with values that aren't strings
r4085 hooks.commit.auto=<function autohook>