Show More
@@ -298,8 +298,7 b' class mergestate(object):' | |||
|
298 | 298 | return r |
|
299 | 299 | |
|
300 | 300 | def _checkunknownfile(repo, wctx, mctx, f): |
|
301 | return (not repo.dirstate._ignore(f) | |
|
302 | and os.path.isfile(repo.wjoin(f)) | |
|
301 | return (os.path.isfile(repo.wjoin(f)) | |
|
303 | 302 | and repo.wopener.audit.check(f) |
|
304 | 303 | and repo.dirstate.normalize(f) not in repo.dirstate |
|
305 | 304 | and mctx[f].cmp(wctx[f])) |
@@ -231,8 +231,6 b' test conflicting untracked files' | |||
|
231 | 231 | |
|
232 | 232 | test conflicting untracked ignored file |
|
233 | 233 | |
|
234 | BROKEN: the ignored file gets overwritten by the remote version | |
|
235 | ||
|
236 | 234 | $ hg up -qC 0 |
|
237 | 235 | $ echo ignored > .hgignore |
|
238 | 236 | $ hg add .hgignore |
@@ -246,9 +244,9 b' BROKEN: the ignored file gets overwritte' | |||
|
246 | 244 | $ echo untracked > ignored |
|
247 | 245 | $ hg st |
|
248 | 246 | $ hg up 'desc("add ignored file")' |
|
249 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
250 | $ cat ignored | |
|
251 | ignored | |
|
247 | ignored: untracked file differs | |
|
248 | abort: untracked files in working directory differ from files in requested revision | |
|
249 | [255] | |
|
252 | 250 | |
|
253 | 251 | test a local add |
|
254 | 252 |
General Comments 0
You need to be logged in to leave comments.
Login now