tests/test-bookmarks-strip.out
author Greg Ward <greg-hg@gerg.ca>
Tue, 15 Jun 2010 13:04:22 -0400
changeset 11402 367ce8514da0
parent 11202 f974fe896921
child 12392 741290486877
permissions -rw-r--r--
extensions: recommend against using wrapfunction for repo methods Instead, all extensions should use the "dynamic subclass" trick: subclass repo.__class__ and then replace repo.__class__ with your new subclass. This avoids conflicts that happen when one extension uses wrapfunction and another uses subclassing to extend the same method of localrepository.

% add file
adding qqq.txt
% commit first revision
% set bookmark
% commit second revision
% set bookmark
% update to -2
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
% commit new head
created new head
% bookmarks updated?
   test                      1:16b24da7e457
   test2                     1:16b24da7e457
% strip to revision 1
saved backup bundle to 
% list bookmarks
 * test                      1:9f1b7e78eff8
 * test2                     1:9f1b7e78eff8