Show More
@@ -108,8 +108,9 b' def strip(ui, repo, nodelist, backup=Tru' | |||
|
108 | 108 | |
|
109 | 109 | repo = repo.unfiltered() |
|
110 | 110 | repo.destroying() |
|
111 | vfs = repo.vfs | |
|
112 | cl = repo.changelog | |
|
111 | 113 | |
|
112 | cl = repo.changelog | |
|
113 | 114 | # TODO handle undo of merge sets |
|
114 | 115 | if isinstance(nodelist, str): |
|
115 | 116 | nodelist = [nodelist] |
@@ -169,7 +170,6 b' def strip(ui, repo, nodelist, backup=Tru' | |||
|
169 | 170 | |
|
170 | 171 | # create a changegroup for all the branches we need to keep |
|
171 | 172 | backupfile = None |
|
172 | vfs = repo.vfs | |
|
173 | 173 | node = nodelist[-1] |
|
174 | 174 | if backup: |
|
175 | 175 | backupfile = backupbundle(repo, stripbases, cl.heads(), node, topic) |
General Comments 0
You need to be logged in to leave comments.
Login now