##// END OF EJS Templates
largefiles: fix a spurious missing file warning with forget (issue4053)...
Matt Harbison -
r23619:70afc58c stable
parent child Browse files
Show More
@@ -1008,7 +1008,8 b' def overrideforget(orig, ui, repo, *pats'
1008 installnormalfilesmatchfn(repo[None].manifest())
1008 installnormalfilesmatchfn(repo[None].manifest())
1009 result = orig(ui, repo, *pats, **opts)
1009 result = orig(ui, repo, *pats, **opts)
1010 restorematchfn()
1010 restorematchfn()
1011 m = scmutil.match(repo[None], pats, opts)
1011 m = composelargefilematcher(scmutil.match(repo[None], pats, opts),
1012 repo[None].manifest())
1012
1013
1013 try:
1014 try:
1014 repo.lfstatus = True
1015 repo.lfstatus = True
@@ -136,7 +136,8 b' Test permission of files created by push'
136 #endif
136 #endif
137
137
138 Test issue 4053 (remove --after on a deleted, uncommitted file shouldn't say
138 Test issue 4053 (remove --after on a deleted, uncommitted file shouldn't say
139 it is missing, but a remove on a nonexistant unknown file still should)
139 it is missing, but a remove on a nonexistant unknown file still should. Same
140 for a forget.)
140
141
141 $ cd src
142 $ cd src
142 $ touch x
143 $ touch x
@@ -146,3 +147,9 b' it is missing, but a remove on a nonexis'
146 ENOENT: * (glob)
147 ENOENT: * (glob)
147 not removing y: file is untracked
148 not removing y: file is untracked
148 [1]
149 [1]
150 $ hg add y
151 $ mv y z
152 $ hg forget y z ENOENT
153 ENOENT: * (glob)
154 not removing z: file is already untracked
155 [1]
General Comments 0
You need to be logged in to leave comments. Login now