##// END OF EJS Templates
patch: support diff data loss detection and upgrade...
patch: support diff data loss detection and upgrade In worst case, generating diff in upgrade mode can be two times more expensive than generating it in git mode directly: we may have to regenerate the whole diff again whenever a git feature is detected. Also, the first diff attempt is completely buffered instead of being streamed. That said, even without having profiled it yet, I am convinced we can fast-path the upgrade mode if necessary were it to be used in regular diff commands, and not only in mq where avoiding data loss is worth the price.

File last commit:

r9611:a3d73b3e default
r10189:e451e599 default
Show More
test-symlinks.out
40 lines | 858 B | text/plain | TextLexer
/ tests / test-symlinks.out
Matt Mackall
symlinks: use is_link wherever is_exec is used
r4002 adding bar
Matthew Elder
symlink unit test
r1408 adding foo
adding bomb
Benoit Boissinot
fix handling of files of unsupported type in the walk code...
r1487 adding a.c
adding dir/a.o
adding dir/b.o
Matt Mackall
symlinks: use is_link wherever is_exec is used
r4002 M dir/b.o
Thomas Arendsen Hein
Adjusted all but one test output for the new behaviour of localrepo.changes()
r1620 ! a.c
! dir/a.o
Benoit Boissinot
fix handling of files of unsupported type in the walk code...
r1487 ? .hgignore
Benoit Boissinot
don't print anything about file of unsupported type unless...
r1527 a.c: unsupported file type (type is fifo)
Thomas Arendsen Hein
Adjusted all but one test output for the new behaviour of localrepo.changes()
r1620 ! a.c
Jim Meyering
Fix issue 165: `hg status' with abs path containing a symlink-to-dir fails
r2115 # test absolute path through symlink outside repo
A f
# try symlink outside repo to file inside
abort: ../z not under root
Giorgos Keramidas
Create the parent directory when checking out symlinks.
r4137 # try cloning symlink in a subdir
1. commit a symlink
? a/b/c/demo
adding a/b/c/demo
2. clone it
Adrian Buehlmann
hg.clone: report branch name on update
r9611 updating to branch default
Giorgos Keramidas
Create the parent directory when checking out symlinks.
r4137 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Brendan Cully
patch: add git symlink support
r5116 # git symlink diff
diff --git a/a/b/c/demo b/a/b/c/demo
new file mode 120000
--- /dev/null
+++ b/a/b/c/demo
@@ -0,0 +1,1 @@
+/path/to/symlink/source
\ No newline at end of file
# import git symlink diff
applying ../sl.diff
diff --git a/a/b/c/demo b/a/b/c/demo
new file mode 120000
--- /dev/null
+++ b/a/b/c/demo
@@ -0,0 +1,1 @@
+/path/to/symlink/source
\ No newline at end of file