##// END OF EJS Templates
help: hide deprecated filesets, revsets and template items if not verbose...
help: hide deprecated filesets, revsets and template items if not verbose This allows us to hide {branches} template keyword in a better way. Currently it is achieved by copying keywords table and deleting 'branches' from it.

File last commit:

r16913:f2719b38 default
r26415:46af0adb default
Show More
test-eol-tag.t
39 lines | 583 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
Mads Kiilerich
tests: add missing trailing 'cd ..'...
r16913
$ cd ..