##// END OF EJS Templates
copyfile: allow optional hardlinking...
copyfile: allow optional hardlinking Some code paths use 'copyfiles' (full tree) for a single file to take advantage of the best-effort-hard-linking parameter. We add similar parameter and logic to 'copyfile' (single file) for this purpose. The single file version have the advantage to overwrite the destination file if it exists.

File last commit:

r16913:f2719b38 default
r23899:4e451d13 default
Show More
test-1102.t
17 lines | 354 B | text/troff | Tads3Lexer
Martin Geisler
tests: unify test-1102
r11847 $ rm -rf a
$ hg init a
$ cd a
$ echo a > a
$ hg ci -Am0
adding a
$ hg tag t1 # 1
$ hg tag --remove t1 # 2
$ hg co 1
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Kevin Bullock
tag: abort if not at a branch head (issue2552)...
r13135 $ hg tag -f -r0 t1
Martin Geisler
tests: unify test-1102
r11847 $ hg tags
tip 3:a49829c4fc11
t1 0:f7b1eb17ad24
Mads Kiilerich
tests: add missing trailing 'cd ..'...
r16913 $ cd ..