##// 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:

r7817:cb516e78 default
r10189:e451e599 default
Show More
test-bookmarks-current.out
25 lines | 713 B | text/plain | TextLexer
/ tests / test-bookmarks-current.out
David Soria Parra
bookmarks: tests for track.current option
r7551 % no bookmarks
no bookmarks set
% set bookmark X
David Soria Parra
bookmarks: Set current bookmark if we create a new one on the tip...
r7816 % list bookmarks
* X -1:000000000000
David Soria Parra
bookmarks: tests for track.current option
r7551 % update to bookmark X
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
% list bookmarks
* X -1:000000000000
% rename
% list bookmarks
* Z -1:000000000000
% new bookmark Y
% list bookmarks
David Soria Parra
bookmarks: Set current bookmark if we create a new one on the tip...
r7816 * Y -1:000000000000
Z -1:000000000000
David Soria Parra
bookmarks: tests for track.current option
r7551 % commit
% list bookmarks
David Soria Parra
bookmarks: Set current bookmark if we create a new one on the tip...
r7816 * Y 0:719295282060
Z -1:000000000000
Alex Unden
bookmarks: fixes bug where a deleted bookmark may still be treated as current when track.current option is set
r7817 % delete bookmarks
% list bookmarks
no bookmarks set
% update to tip
0 files updated, 0 files merged, 0 files removed, 0 files unresolved