##// END OF EJS Templates
localrepo: do not update bookmarks in addchangegroup...
David Soria Parra -
r13662:80d6e1f6 default
parent child Browse files
Show More
@@ -1894,10 +1894,6 b' class localrepository(repo.repository):'
1894 self.hook("incoming", node=hex(cl.node(i)),
1894 self.hook("incoming", node=hex(cl.node(i)),
1895 source=srctype, url=url)
1895 source=srctype, url=url)
1896
1896
1897 # FIXME - why does this care about tip?
1898 if newheads == oldheads:
1899 bookmarks.update(self, self.dirstate.parents(), self['tip'].node())
1900
1901 # never return 0 here:
1897 # never return 0 here:
1902 if newheads < oldheads:
1898 if newheads < oldheads:
1903 return newheads - oldheads - 1
1899 return newheads - oldheads - 1
@@ -26,6 +26,7 b' import bookmark by name'
26 adding manifests
26 adding manifests
27 adding file changes
27 adding file changes
28 added 1 changesets with 1 changes to 1 files
28 added 1 changesets with 1 changes to 1 files
29 updating bookmark Y
29 (run 'hg update' to get a working copy)
30 (run 'hg update' to get a working copy)
30 $ hg bookmarks
31 $ hg bookmarks
31 Y 0:4e3505fd9583
32 Y 0:4e3505fd9583
General Comments 0
You need to be logged in to leave comments. Login now