##// END OF EJS Templates
repair: use node to track post-strip bookmark target...
Matt Mackall -
r17796:1b51638b default
parent child Browse files
Show More
@@ -114,7 +114,7 b' def strip(ui, repo, nodelist, backup="al'
114 newbmtarget = repo.revs('sort(heads((::%ld) - (%ld)), -rev)',
114 newbmtarget = repo.revs('sort(heads((::%ld) - (%ld)), -rev)',
115 tostrip, tostrip)
115 tostrip, tostrip)
116 if newbmtarget:
116 if newbmtarget:
117 newbmtarget = newbmtarget[0]
117 newbmtarget = repo[newbmtarget[0]].node()
118 else:
118 else:
119 newbmtarget = '.'
119 newbmtarget = '.'
120
120
General Comments 0
You need to be logged in to leave comments. Login now