##// END OF EJS Templates
rebase: reduce scope of a variable...
Martin von Zweigbergk -
r38693:99ed6e2f default
parent child Browse files
Show More
@@ -1858,7 +1858,6 b' def _computeobsoletenotrebased(repo, reb'
1858 1858 extinctnodes = set(cl.node(r) for r in repo.revs('extinct()'))
1859 1859 for srcrev in rebaseobsrevs:
1860 1860 srcnode = cl.node(srcrev)
1861 destnode = cl.node(destmap[srcrev])
1862 1861 # XXX: more advanced APIs are required to handle split correctly
1863 1862 successors = set(obsutil.allsuccessors(repo.obsstore, [srcnode]))
1864 1863 # obsutil.allsuccessors includes node itself
@@ -1870,6 +1869,7 b' def _computeobsoletenotrebased(repo, reb'
1870 1869 # no successor
1871 1870 obsoletenotrebased[srcrev] = None
1872 1871 else:
1872 destnode = cl.node(destmap[srcrev])
1873 1873 for succnode in successors:
1874 1874 if succnode not in nodemap:
1875 1875 continue
General Comments 0
You need to be logged in to leave comments. Login now