Show More
@@ -186,9 +186,7 def dorecord(ui, repo, commitfunc, cmdsu | |||||
186 |
|
186 | |||
187 | # Make all of the pathnames absolute. |
|
187 | # Make all of the pathnames absolute. | |
188 | newfiles = [repo.wjoin(nf) for nf in newfiles] |
|
188 | newfiles = [repo.wjoin(nf) for nf in newfiles] | |
189 | commitfunc(ui, repo, *newfiles, **opts) |
|
189 | return commitfunc(ui, repo, *newfiles, **opts) | |
190 |
|
||||
191 | return 0 |
|
|||
192 | finally: |
|
190 | finally: | |
193 | # 5. finally restore backed-up files |
|
191 | # 5. finally restore backed-up files | |
194 | try: |
|
192 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now