##// END OF EJS Templates
largefiles: fix explicit commit of normal/largefile switch...
Mads Kiilerich -
r26817:b68797f2 stable
parent child Browse files
Show More
@@ -562,8 +562,11 b' def updatestandinsbymatch(repo, match):'
562 562 for f in match._files:
563 563 fstandin = standin(f)
564 564
565 # ignore known largefiles and standins
566 if f in lfiles or fstandin in standins:
565 # For largefiles, only one of the normal and standin should be
566 # committed (except if one of them is a remove).
567 # Thus, skip plain largefile names but keep the standin.
568 if (f in lfiles or fstandin in standins) and \
569 repo.dirstate[f] != 'r' and repo.dirstate[fstandin] != 'r':
567 570 continue
568 571
569 572 actualfiles.append(f)
@@ -1850,7 +1850,7 b' the add and the remove is committed.'
1850 1850 .hglf/normal3
1851 1851 .hglf/sub2/large6
1852 1852 .hglf/sub2/large7
1853 normal3
1853 large4-renamed
1854 1854 sub/normal4
1855 1855
1856 1856 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now