Show More
@@ -168,7 +168,7 b' def strip(ui, repo, nodelist, backup=Tru' | |||||
168 | if rev in tostrip: |
|
168 | if rev in tostrip: | |
169 | updatebm.append(m) |
|
169 | updatebm.append(m) | |
170 |
|
170 | |||
171 | # create a changegroup for all the branches we need to keep |
|
171 | # backup the changeset we are about to strip | |
172 | backupfile = None |
|
172 | backupfile = None | |
173 | node = nodelist[-1] |
|
173 | node = nodelist[-1] | |
174 | if backup: |
|
174 | if backup: | |
@@ -177,6 +177,7 b' def strip(ui, repo, nodelist, backup=Tru' | |||||
177 | vfs.join(backupfile)) |
|
177 | vfs.join(backupfile)) | |
178 | repo.ui.log("backupbundle", "saved backup bundle to %s\n", |
|
178 | repo.ui.log("backupbundle", "saved backup bundle to %s\n", | |
179 | vfs.join(backupfile)) |
|
179 | vfs.join(backupfile)) | |
|
180 | # create a changegroup for all the branches we need to keep | |||
180 | tmpbundlefile = None |
|
181 | tmpbundlefile = None | |
181 | if saveheads: |
|
182 | if saveheads: | |
182 | # do not compress temporary bundle if we remove it from disk later |
|
183 | # do not compress temporary bundle if we remove it from disk later |
General Comments 0
You need to be logged in to leave comments.
Login now