##// END OF EJS Templates
cmdutil: directly use repo.vfs.join...
Pierre-Yves David -
r31320:1b0db28d default
parent child Browse files
Show More
@@ -201,7 +201,7 def dorecord(ui, repo, commitfunc, cmdsu
201 201 newlyaddedandmodifiedfiles]
202 202 backups = {}
203 203 if tobackup:
204 backupdir = repo.join('record-backups')
204 backupdir = repo.vfs.join('record-backups')
205 205 try:
206 206 os.mkdir(backupdir)
207 207 except OSError as err:
@@ -3412,7 +3412,7 def clearunfinished(repo):
3412 3412 raise error.Abort(msg, hint=hint)
3413 3413 for f, clearable, allowcommit, msg, hint in unfinishedstates:
3414 3414 if clearable and repo.vfs.exists(f):
3415 util.unlink(repo.join(f))
3415 util.unlink(repo.vfs.join(f))
3416 3416
3417 3417 afterresolvedstates = [
3418 3418 ('graftstate',
General Comments 0
You need to be logged in to leave comments. Login now