HomePhabricator

p4fastimport: work around P4 symlink/directory bug

Authored by hollisb.

Description

p4fastimport: work around P4 symlink/directory bug

The P4 repository can erroneously consider a file to be "inside" a symlink to a
directory. 'p4 sync' (the client) reports an error if it encounters this
situation, but 'hg update' aborts.

Work around the problem by discarding such files. In the testcase, we can't
accept changelist #2, because we have no changelist that deletes the symlink,
so instead we have to ignore the new file.

Differential Revision: https://phab.mercurial-scm.org/D1314

Details

Committed
hollisbDec 22 2017, 5:32 PM
Differential Revision
D1314: p4fastimport: work around P4 symlink/directory bug
Parents
rFBHGX86daf6d42d43: rage: remove unused timeout parameter
Branches
Unknown
Tags
Unknown