Show More
@@ -1112,7 +1112,7 def changebranch(ui, repo, revs, label, | |||
|
1112 | 1112 | ui.status(_(b"changed branch on %d changesets\n") % len(replacements)) |
|
1113 | 1113 | |
|
1114 | 1114 | |
|
1115 | def findrepo(p): | |
|
1115 | def findrepo(p: bytes) -> Optional[bytes]: | |
|
1116 | 1116 | while not os.path.isdir(os.path.join(p, b".hg")): |
|
1117 | 1117 | oldp, p = p, os.path.dirname(p) |
|
1118 | 1118 | if p == oldp: |
General Comments 0
You need to be logged in to leave comments.
Login now