##// END OF EJS Templates
global: mass rewrite to use modern exception syntax...
global: mass rewrite to use modern exception syntax Python 2.6 introduced the "except type as instance" syntax, replacing the "except type, instance" syntax that came before. Python 3 dropped support for the latter syntax. Since we no longer support Python 2.4 or 2.5, we have no need to continue supporting the "except type, instance". This patch mass rewrites the exception syntax to be Python 2.6+ and Python 3 compatible. This patch was produced by running `2to3 -f except -w -n .`.

File last commit:

r16911:39d38f16 default
r25660:328739ea default
Show More
test-update-renames.t
27 lines | 517 B | text/troff | Tads3Lexer
/ tests / test-update-renames.t
Matt Mackall
tests: fix a bunch of pointless #s in unified tests
r12328 Test update logic when there are renames
Adrian Buehlmann
tests: unify test-update-renames
r12299
Matt Mackall
tests: fix a bunch of pointless #s in unified tests
r12328 Update with local changes across a file rename
Adrian Buehlmann
tests: unify test-update-renames
r12299
$ hg init
$ echo a > a
$ hg add a
$ hg ci -m a
$ hg mv a b
$ hg ci -m rename
$ echo b > b
$ hg ci -m change
$ hg up -q 0
$ echo c > a
$ hg up
merging a and b to b
warning: conflicts during merge.
Matt Mackall
merge: give a special message for internal:merge failure (issue3105)
r15501 merging b incomplete! (edit conflicts, then use 'hg resolve --mark')
Adrian Buehlmann
tests: unify test-update-renames
r12299 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
use 'hg resolve' to retry unresolved file merges
Matt Mackall
tests: add exit codes to unified tests
r12316 [1]