mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
merge: remove old pre-audit code checking for absolute paths
Audit will handle this in a more elegant way.
This commit is contained in:
parent
233c071ef3
commit
befdd21355
@ -374,8 +374,6 @@ def applyupdates(repo, actions, wctx, mctx, actx, overwrite):
|
||||
f, m = a[:2]
|
||||
repo.ui.progress(_('updating'), i + 1, item=f, total=numupdates,
|
||||
unit=_('files'))
|
||||
if f and f[0] == "/":
|
||||
continue
|
||||
if m == "r": # remove
|
||||
repo.ui.note(_("removing %s\n") % f)
|
||||
audit(f)
|
||||
|
@ -86,7 +86,7 @@ attack /tmp/test
|
||||
$ hg manifest -r4
|
||||
/tmp/test
|
||||
$ hg update -Cr4
|
||||
abort: *: '$TESTTMP/target//tmp/test' (glob)
|
||||
abort: path contains illegal component: /tmp/test
|
||||
[255]
|
||||
|
||||
$ cd ..
|
||||
|
Loading…
Reference in New Issue
Block a user