HomePhabricator

p4fastimport: fix symlink handling

Authored by dsp.

Description

p4fastimport: fix symlink handling

Summary:
Symlinks must not have newlines at their end. However reading the
content from Perforce, it might contain a newline, so we now strip it.

Test Plan:

python ../../hg-crew/tests/run-tests.py --keep-tmpdir test-p4fastimport-import-modes.t

Reviewers: #idi, #mercurial, rmcelroy

Reviewed By: rmcelroy

Subscribers: rmcelroy, medson, mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D5535514

Signature: t1:5535514:1501601075:20ce811a92d1d5b5a973e05db1d2110599c5ef52

Details

Committed
dspAug 2 2017, 3:00 AM
Parents
rFBHGX64fb9152ca66: p4fastimport: remove documentation of non-existing option
Branches
Unknown
Tags
Unknown