Show More
@@ -343,13 +343,14 b' def splitstandin(filename):' | |||
|
343 | 343 | return None |
|
344 | 344 | |
|
345 | 345 | def updatestandin(repo, standin): |
|
346 |
file = |
|
|
347 | if repo.wvfs.exists(splitstandin(standin)): | |
|
346 | lfile = splitstandin(standin) | |
|
347 | file = repo.wjoin(lfile) | |
|
348 | if repo.wvfs.exists(lfile): | |
|
348 | 349 | hash = hashfile(file) |
|
349 | 350 | executable = getexecutable(file) |
|
350 | 351 | writestandin(repo, standin, hash, executable) |
|
351 | 352 | else: |
|
352 |
raise error.Abort(_('%s: file not found!') % |
|
|
353 | raise error.Abort(_('%s: file not found!') % lfile) | |
|
353 | 354 | |
|
354 | 355 | def readstandin(repo, filename, node=None): |
|
355 | 356 | '''read hex hash from standin for filename at given node, or working |
General Comments 0
You need to be logged in to leave comments.
Login now