##// END OF EJS Templates
Fix hg showconfig traceback with values that aren't strings
Fix hg showconfig traceback with values that aren't strings

File last commit:

r4085:719488a9 default
r4085:719488a9 default
Show More
test-hook.out
145 lines | 5.9 KiB | text/plain | TextLexer
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 precommit hook: p1=0000000000000000000000000000000000000000 p2=
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 pretxncommit hook: n=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b p1=0000000000000000000000000000000000000000 p2=
0:29b62aeb769f
commit hook: n=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b p1=0000000000000000000000000000000000000000 p2=
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 commit hook b
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 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 precommit hook: p1=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b p2=
pretxncommit hook: n=b702efe9688826e3a91283852b328b84dbf37bc2 p1=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b p2=
1:b702efe96888
commit hook: n=b702efe9688826e3a91283852b328b84dbf37bc2 p1=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b p2=
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 commit hook b
Thomas Arendsen Hein
Make hg update more verbose by default (issue12)...
r2175 1 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 precommit hook: p1=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b p2=
pretxncommit hook: n=1324a5531bac09b329c3845d35ae6a7526874edb p1=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b p2=
2:1324a5531bac
commit hook: n=1324a5531bac09b329c3845d35ae6a7526874edb p1=29b62aeb769fdf78d8d9c5f28b017f76d7ef824b p2=
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 commit hook b
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)
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 precommit hook: p1=1324a5531bac09b329c3845d35ae6a7526874edb p2=b702efe9688826e3a91283852b328b84dbf37bc2
pretxncommit hook: n=4c52fb2e402287dd5dc052090682536c8406c321 p1=1324a5531bac09b329c3845d35ae6a7526874edb p2=b702efe9688826e3a91283852b328b84dbf37bc2
3:4c52fb2e4022
commit hook: n=4c52fb2e402287dd5dc052090682536c8406c321 p1=1324a5531bac09b329c3845d35ae6a7526874edb p2=b702efe9688826e3a91283852b328b84dbf37bc2
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 commit hook b
Vadim Gelfer
hooks: add url to changegroup, incoming, prechangegroup, pretxnchangegroup hooks...
r2673 prechangegroup hook: u=file:
changegroup hook: n=b702efe9688826e3a91283852b328b84dbf37bc2 u=file:
incoming hook: n=b702efe9688826e3a91283852b328b84dbf37bc2 u=file:
incoming hook: n=1324a5531bac09b329c3845d35ae6a7526874edb u=file:
incoming hook: n=4c52fb2e402287dd5dc052090682536c8406c321 u=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)
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 pretag hook: t=a n=4c52fb2e402287dd5dc052090682536c8406c321 l=0
precommit hook: p1=4c52fb2e402287dd5dc052090682536c8406c321 p2=
Matt Mackall
tag: shorten hash in default commit message...
r2967 pretxncommit hook: n=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 p1=4c52fb2e402287dd5dc052090682536c8406c321 p2=
4:8ea2ef7ad3e8
commit hook: n=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 p1=4c52fb2e402287dd5dc052090682536c8406c321 p2=
Matt Mackall
Change test-hook to test multiple hooks
r1481 commit hook b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 tag hook: t=a n=4c52fb2e402287dd5dc052090682536c8406c321 l=0
Matt Mackall
tag: shorten hash in default commit message...
r2967 pretag hook: t=la n=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 l=1
tag hook: t=la n=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 l=1
pretag hook: t=fa n=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 l=0
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 pretag.forbid hook
abort: pretag.forbid hook exited with status 1
Matt Mackall
tag: shorten hash in default commit message...
r2967 pretag hook: t=fla n=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 l=1
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 pretag.forbid hook
abort: pretag.forbid hook exited with status 1
Matt Mackall
tag: shorten hash in default commit message...
r2967 4:8ea2ef7ad3e8
precommit hook: p1=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 p2=
pretxncommit hook: n=fad284daf8c032148abaffcd745dafeceefceb61 p1=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 p2=
5:fad284daf8c0
pretxncommit.forbid hook: tip=5:fad284daf8c0
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 abort: pretxncommit.forbid hook exited with status 1
transaction abort!
rollback completed
Matt Mackall
tag: shorten hash in default commit message...
r2967 4:8ea2ef7ad3e8
precommit hook: p1=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 p2=
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 precommit.forbid hook
abort: precommit.forbid hook exited with status 1
Matt Mackall
tag: shorten hash in default commit message...
r2967 4:8ea2ef7ad3e8
Matt Mackall
merge: use repo.parents and parent contexts in update
r3167 preupdate hook: p1=b702efe96888 p2=
Vadim Gelfer
hooks: add preupdate and update hooks....
r2266 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
Matt Mackall
merge: use repo.parents and parent contexts in update
r3167 preupdate hook: p1=8ea2ef7ad3e8 p2=
update hook: p1=8ea2ef7ad3e8 p2= err=0
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
Vadim Gelfer
i forgot to change the test output for test-hook.
r1735 prechangegroup.forbid hook
pulling from ../a
searching for changes
abort: prechangegroup.forbid hook exited with status 1
Matt Mackall
tag: shorten hash in default commit message...
r2967 pretxnchangegroup.forbid hook: tip=4:8ea2ef7ad3e8
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
abort: pretxnchangegroup.forbid hook exited with status 1
transaction abort!
rollback completed
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 3:4c52fb2e4022
Vadim Gelfer
add preoutgoing and outgoing hooks....
r1736 preoutgoing hook: s=pull
Matt Mackall
tag: shorten hash in default commit message...
r2967 outgoing hook: n=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 s=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
preoutgoing hook: s=pull
preoutgoing.forbid hook
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
Alexis S. L. Carvalho
Fix hg showconfig traceback with values that aren't strings
r4085 hooks.commit.auto=<function autohook>