equal
deleted
inserted
replaced
1888 source=srctype, url=url) |
1888 source=srctype, url=url) |
1889 |
1889 |
1890 for i in xrange(clstart, clend): |
1890 for i in xrange(clstart, clend): |
1891 self.hook("incoming", node=hex(cl.node(i)), |
1891 self.hook("incoming", node=hex(cl.node(i)), |
1892 source=srctype, url=url) |
1892 source=srctype, url=url) |
|
1893 |
|
1894 # FIXME - why does this care about tip? |
|
1895 if newheads == oldheads: |
|
1896 bookmarks.update(self, self.dirstate.parents(), self['tip'].node()) |
1893 |
1897 |
1894 # never return 0 here: |
1898 # never return 0 here: |
1895 if newheads < oldheads: |
1899 if newheads < oldheads: |
1896 return newheads - oldheads - 1 |
1900 return newheads - oldheads - 1 |
1897 else: |
1901 else: |