##// END OF EJS Templates
merge with stable
Sune Foldager -
r11300:24eeca1f merge default
parent child Browse files
Show More
@@ -30,13 +30,12 b' def addbranchrevs(lrepo, repo, branches,'
30 if branch == '.':
30 if branch == '.':
31 if not lrepo or not lrepo.local():
31 if not lrepo or not lrepo.local():
32 raise util.Abort(_("dirstate branch not accessible"))
32 raise util.Abort(_("dirstate branch not accessible"))
33 revs.append(lrepo.dirstate.branch())
33 branch = lrepo.dirstate.branch()
34 butf8 = encoding.fromlocal(branch)
35 if butf8 in branchmap:
36 revs.extend(node.hex(r) for r in reversed(branchmap[butf8]))
34 else:
37 else:
35 butf8 = encoding.fromlocal(branch)
38 revs.append(branch)
36 if butf8 in branchmap:
37 revs.extend(node.hex(r) for r in reversed(branchmap[butf8]))
38 else:
39 revs.append(branch)
40 return revs, revs[0]
39 return revs, revs[0]
41
40
42 def parseurl(url, branches=None):
41 def parseurl(url, branches=None):
@@ -19,7 +19,9 b' 2:f25d57ab0566'
19 1:dd6e60a716c6
19 1:dd6e60a716c6
20 2:f25d57ab0566
20 2:f25d57ab0566
21 out branch .
21 out branch .
22 1:b84708d77ab7
22 2:65511d0e2b55
23 2:65511d0e2b55
24 1:b84708d77ab7
23 2:65511d0e2b55
25 2:65511d0e2b55
24 clone branch b
26 clone branch b
25 requesting all changes
27 requesting all changes
General Comments 0
You need to be logged in to leave comments. Login now