##// END OF EJS Templates
debugsetparents: avoid using "r1/r2" variable names for nodeids...
Martin von Zweigbergk -
r37161:8bac14ce default
parent child Browse files
Show More
@@ -2288,11 +2288,11 b' def debugsetparents(ui, repo, rev1, rev2'
2288 Returns 0 on success.
2288 Returns 0 on success.
2289 """
2289 """
2290
2290
2291 r1 = scmutil.revsingle(repo, rev1).node()
2291 node1 = scmutil.revsingle(repo, rev1).node()
2292 r2 = scmutil.revsingle(repo, rev2, 'null').node()
2292 node2 = scmutil.revsingle(repo, rev2, 'null').node()
2293
2293
2294 with repo.wlock():
2294 with repo.wlock():
2295 repo.setparents(r1, r2)
2295 repo.setparents(node1, node2)
2296
2296
2297 @command('debugssl', [], '[SOURCE]', optionalrepo=True)
2297 @command('debugssl', [], '[SOURCE]', optionalrepo=True)
2298 def debugssl(ui, repo, source=None, **opts):
2298 def debugssl(ui, repo, source=None, **opts):
General Comments 0
You need to be logged in to leave comments. Login now