##// END OF EJS Templates
distate: add assertions to backup functions...
distate: add assertions to backup functions Those assertions will prevent the backup functions from overwriting the dirstate file in case both: suffix and prefix are empty. (foozy suggested making that change and I agree with him)

File last commit:

r29088:98335303 default
r29273:118a605e default
Show More
test-chg.t
32 lines | 485 B | text/troff | Tads3Lexer
init repo
$ hg init foo
$ cd foo
ill-formed config
$ hg status
$ echo '=brokenconfig' >> $HGRCPATH
$ hg status
hg: parse error at * (glob)
[255]
alias having an environment variable and set to use pager
$ rm $HGRCPATH
$ cat >> $HGRCPATH <<'EOF'
> [ui]
> formatted = yes
> [extensions]
> pager =
> [pager]
> pager = sed -e 's/^/P/'
> attend = printa
> [alias]
> printa = log -T "$A\n" -r 0
> EOF
$ A=1 hg printa
P1
$ A=2 hg printa
P2