##// END OF EJS Templates
rhg: add resolve_file_args to path_utils.rs...
rhg: add resolve_file_args to path_utils.rs Extracted logic for resolving `FILE ...` arguments from cat.rs into a new function in path_utils.rs. I plan to use this for rhg annotate. I tried to reuse hg::utils::files::canonical_path instead, but that didn't work. For example it reports a InsideDotHg error for any path containing "..".

File last commit:

r50516:55c6ebd1 stable
r53438:f33f37ac tip default
Show More
test-backwards-remove.t
19 lines | 315 B | text/troff | Tads3Lexer
/ tests / test-backwards-remove.t
Arseniy Alekseyev
tests: run many tests in $TESTTMP/repo instead of $TESTTMP...
r50516 $ hg init repo
$ cd repo
Martin Geisler
tests: unify test-backwards-remove
r11857 $ echo This is file a1 > a
$ hg add a
Martin Geisler
tests: remove unneeded -d flags...
r12156 $ hg commit -m "commit #0"
Joerg Sonnenberger
tests: deal with "ls" vs "ls -A" difference on 2BSD derived systems...
r45218 $ ls -A
.hg
Martin Geisler
tests: unify test-backwards-remove
r11857 a
$ echo This is file b1 > b
$ hg add b
Martin Geisler
tests: remove unneeded -d flags...
r12156 $ hg commit -m "commit #1"
Martin Geisler
tests: unify test-backwards-remove
r11857 $ hg co 0
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
B should disappear
Joerg Sonnenberger
tests: deal with "ls" vs "ls -A" difference on 2BSD derived systems...
r45218 $ ls -A
.hg
Martin Geisler
tests: unify test-backwards-remove
r11857 a