##// END OF EJS Templates
copies: add config option for writing copy metadata to file and/or changset...
copies: add config option for writing copy metadata to file and/or changset This introduces a config option that lets you choose to write copy metadata to the changeset extras instead of to filelog. There's also an option to write it to both places. I imagine that may possibly be useful when transitioning an existing repo. The copy metadata is stored as two fields in extras: one for copies since p1 and one for copies since p2. I may need to add more information later in order to make copy tracing faster. Specifically, I'm thinking out recording which files were added or removed so that copies._chaincopies() doesn't have to look at the manifest for that. But that would just be an optimization and that can be added once we know if it's necessary. I have also considered saving space by using replacing the destination file path by an index into the "files" list, but that can also be changed later (but before the feature is ready to release). Differential Revision: https://phab.mercurial-scm.org/D6183

File last commit:

r29995:57830bd0 default
r42317:0e41f40b default
Show More
test-filecache.py.out
63 lines | 1.1 KiB | text/plain | TextLexer
/ tests / test-filecache.py.out
Idan Kamara
scmutil: introduce filecache...
r14928 basic:
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * neither file exists
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * neither file still exists
Siddharth Agarwal
test-filecache.py: add markers to the output for each event...
r20041 * empty file x created
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
test-filecache.py: add markers to the output for each event...
r20041 * file x changed size
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * nothing changed with either file
Siddharth Agarwal
test-filecache.py: add markers to the output for each event...
r20041 * file x changed inode
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * empty file y created
creating
* file y changed size
creating
* file y changed inode
creating
* both files changed inode
creating
Idan Kamara
scmutil: introduce filecache...
r14928
fakeuncacheable:
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * neither file exists
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * neither file still exists
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
test-filecache.py: add markers to the output for each event...
r20041 * empty file x created
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
test-filecache.py: add markers to the output for each event...
r20041 * file x changed size
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * nothing changed with either file
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
test-filecache.py: add markers to the output for each event...
r20041 * file x changed inode
Idan Kamara
scmutil: introduce filecache...
r14928 creating
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * empty file y created
creating
* file y changed size
creating
* file y changed inode
creating
* both files changed inode
creating
Idan Kamara
destroyed: keep the filecache in sync with __dict__ (issue3335) (issue3693) (issue3743)...
r18313 repository tip rolled back to revision -1 (undo commit)
working directory now based on revision -1
repository tip rolled back to revision -1 (undo commit)
working directory now based on revision -1
Idan Kamara
filecache: create an entry in _filecache when __set__ is called for a missing one...
r18316
setbeforeget:
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * neither file exists
Siddharth Agarwal
test-filecache.py: make setbeforeget test clearer...
r20040 string set externally
Siddharth Agarwal
test-filecache.py: add markers to the output for each event...
r20041 * file x created
Idan Kamara
filecache: create an entry in _filecache when __set__ is called for a missing one...
r18316 creating
Siddharth Agarwal
test-filecache.py: make setbeforeget test clearer...
r20040 string from function
Siddharth Agarwal
scmutil.filecache: support watching over multiple files
r20045 * string set externally again
string 2 set externally
* file y created
creating
string from function
FUJIWARA Katsunori
scmutil: add file object wrapper class to check ambiguity at closing...
r29995
antiambiguity: