##// END OF EJS Templates
merge with stable
Matt Mackall -
r15909:8435fa20 merge default
parent child Browse files
Show More
@@ -466,7 +466,7 b' def _updatelfile(repo, lfdirstate, lfile'
466 466 # largefile is converted back to a normal file: the standin
467 467 # disappears, but a new (normal) file appears as the lfile.
468 468 if os.path.exists(abslfile) and lfile not in repo[None]:
469 os.unlink(abslfile)
469 util.unlinkpath(abslfile)
470 470 ret = -1
471 471 state = repo.dirstate[lfutil.standin(lfile)]
472 472 if state == 'n':
@@ -546,6 +546,14 b' Now "update check" is happy.'
546 546 getting changed largefiles
547 547 1 largefiles updated, 0 removed
548 548
549 Test removing empty largefiles directories on update
550 $ test -d sub2 && echo "sub2 exists"
551 sub2 exists
552 $ hg update -q null
553 $ test -d sub2 && echo "error: sub2 should not exist anymore"
554 [1]
555 $ hg update -q
556
549 557 "revert" works on largefiles (and normal files too).
550 558 $ echo hack3 >> normal3
551 559 $ echo hack4 >> sub/normal4
General Comments 0
You need to be logged in to leave comments. Login now