##// END OF EJS Templates
pull: return 1 when no changes found (BC)...
pull: return 1 when no changes found (BC) Currently we have the following return codes if nothing is found: commit incoming outgoing pull push intended 1 1 1 1 1 documented 1 1 1 0 1 actual 1 1 1 0 1 This makes pull agree with the rest of the table and makes it easy to detect "nothing was pulled" in scripts.

File last commit:

r13521:c1629963 default
r16039:093b75c7 stable
Show More
test-eol-tag.t
37 lines | 572 B | text/troff | Tads3Lexer
Colin Caughie
eol: exclude .hgtags file from eol translation (issue2493)
r12974 http://mercurial.selenic.com/bts/issue2493
Testing tagging with the EOL extension
Martin Geisler
tests: don't overwrite HGRCPATH...
r13519 $ cat >> $HGRCPATH <<EOF
Colin Caughie
eol: exclude .hgtags file from eol translation (issue2493)
r12974 > [extensions]
> eol =
>
> [eol]
> native = CRLF
> EOF
setup repository
$ hg init repo
$ cd repo
$ cat > .hgeol <<EOF
> [patterns]
> ** = native
> EOF
$ printf "first\r\nsecond\r\nthird\r\n" > a.txt
$ hg commit --addremove -m 'checkin'
adding .hgeol
adding a.txt
Tag:
$ hg tag 1.0
Rewrite .hgtags file as it would look on a new checkout:
$ hg update -q null
$ hg update -q
Touch .hgtags file again:
$ hg tag 2.0