##// END OF EJS Templates
diff: add --inverse option...
diff: add --inverse option Most of the time, one can reverse a diff by swapping the revisions passed with -r but it happens that if you use the global -R, and diff against the tip of the current repo, you can't swap the revisions. One use-case for that is reviewing changes from a bundle before unbundling. One could also pipe the output of `hg diff` to a command line filter that reverses the diff, but that would remove the benefit from color diffs. Therefore, having an option in `hg diff` to reverse a diff is a good thing. The option flag selection was tricky. GNU patch uses -R/--reverse but -R is already used as a global option and --reverse would make --rev ambiguous.

File last commit:

r8709:b9e0ddb0 default
r9725:3f522d2f default
Show More
test-symlink-basic.out
31 lines | 678 B | text/plain | TextLexer
/ tests / test-symlink-basic.out
Matt Mackall
commit: move explicit file checking into repo.commit
r8709 abort: dangling: file not tracked!
Alexis S. L. Carvalho
Add some tests for symlink tracking
r4274 changeset: 0:cabd88b706fc
tag: tip
user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: dangling
description:
add symlink
Patrick Mezard
Display symlink or executable bit with manifest -v...
r5405 2564acbe54bbbedfbf608479340b359f04597f80 644 @ dangling
Alexis S. L. Carvalho
Add some tests for symlink tracking
r4274 % rev 0:
dangling -> nothing
% rev 1:
dangling -> void
% modifying link
dangling -> empty
% reverting to rev 0:
reverting dangling
dangling -> nothing
% backups:
dangling.orig -> empty
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
% copies
copying dangling to dangling2
A dangling2
dangling
dangling -> void
dangling2 -> void
Alexis S. L. Carvalho
Fix issue995 (copy --after and symlinks pointing to a directory)...
r6258 % issue995
Benoit Boissinot
update --clean: do not unlink added files (issue575)
r8518 0 files updated, 0 files merged, 0 files removed, 0 files unresolved