##// END OF EJS Templates
log: fix crash on empty revision with --copies switch...
log: fix crash on empty revision with --copies switch If a revset is empty, .max() raises ValueError. I don't see any reason to recompute the revs, so I made it reuse the one returned by logcmdutil.getrevs(). If no revs specified by command line, the endrev will be smartset.spanset(repo) + 1, which is basically the same as len(repo), the default of getrenamedfn(). If --follow specified, revs.max() points to the working parent, which seems more correct.

File last commit:

r36175:2405ca78 default
r37794:141017c7 default
Show More
narrow-library.sh
8 lines | 119 B | application/x-sh | BashLexer
/ tests / narrow-library.sh
Augie Fackler
narrow: import experimental extension from narrowhg revision cb51d673e9c5...
r36096 cat >> $HGRCPATH <<EOF
[extensions]
narrow=
[ui]
ssh=python "$TESTDIR/dummyssh"
[experimental]
changegroup3 = True
EOF