Show More
@@ -319,6 +319,8 b' def updatestandin(repo, standin):' | |||||
319 | hash = hashfile(file) |
|
319 | hash = hashfile(file) | |
320 | executable = getexecutable(file) |
|
320 | executable = getexecutable(file) | |
321 | writestandin(repo, standin, hash, executable) |
|
321 | writestandin(repo, standin, hash, executable) | |
|
322 | else: | |||
|
323 | raise error.Abort(_('%s: file not found!') % splitstandin(standin)) | |||
322 |
|
324 | |||
323 | def readstandin(repo, filename, node=None): |
|
325 | def readstandin(repo, filename, node=None): | |
324 | '''read hex hash from standin for filename at given node, or working |
|
326 | '''read hex hash from standin for filename at given node, or working |
@@ -19,6 +19,12 b' Create source repo, and commit adding la' | |||||
19 | $ hg rm large |
|
19 | $ hg rm large | |
20 | $ hg commit -m 'branchhead without largefile' large |
|
20 | $ hg commit -m 'branchhead without largefile' large | |
21 | $ hg up -qr 0 |
|
21 | $ hg up -qr 0 | |
|
22 | $ rm large | |||
|
23 | $ echo "0000000000000000000000000000000000000000" > .hglf/large | |||
|
24 | $ hg commit -m 'commit missing file with corrupt standin' large | |||
|
25 | abort: large: file not found! | |||
|
26 | [255] | |||
|
27 | $ hg up -Cqr 0 | |||
22 | $ cd .. |
|
28 | $ cd .. | |
23 |
|
29 | |||
24 | Discard all cached largefiles in USERCACHE |
|
30 | Discard all cached largefiles in USERCACHE |
General Comments 0
You need to be logged in to leave comments.
Login now