Show More
@@ -54,7 +54,7 b' def _collectbrokencsets(repo, files, str' | |||
|
54 | 54 | |
|
55 | 55 | return s |
|
56 | 56 | |
|
57 | def strip(ui, repo, nodelist, backup="all"): | |
|
57 | def strip(ui, repo, nodelist, backup="all", topic='backup'): | |
|
58 | 58 | cl = repo.changelog |
|
59 | 59 | # TODO handle undo of merge sets |
|
60 | 60 | if isinstance(nodelist, str): |
@@ -105,7 +105,7 b' def strip(ui, repo, nodelist, backup="al' | |||
|
105 | 105 | # create a changegroup for all the branches we need to keep |
|
106 | 106 | backupfile = None |
|
107 | 107 | if backup == "all": |
|
108 |
backupfile = _bundle(repo, stripbases, cl.heads(), node, |
|
|
108 | backupfile = _bundle(repo, stripbases, cl.heads(), node, topic) | |
|
109 | 109 | repo.ui.status(_("saved backup bundle to %s\n") % backupfile) |
|
110 | 110 | if saveheads or savebases: |
|
111 | 111 | # do not compress partial bundle if we remove it from disk later |
General Comments 0
You need to be logged in to leave comments.
Login now