diff options
author | Andrew Oakley <andrew@adoakley.name> | 2020-05-10 11:16:50 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-10 09:58:50 -0700 |
commit | 82e46d6b837e96de5ee01f0298b600519aef1bba (patch) | |
tree | 1e409211ad8ff63845f799f9a6f92d9bcc9df5dd /t/t4056-diff-order.sh | |
parent | The eighth batch (diff) | |
download | tgif-82e46d6b837e96de5ee01f0298b600519aef1bba.tar.xz |
git-p4: recover from inconsistent perforce history
Perforce allows you commit files and directories with the same name,
so you could have files //depot/foo and //depot/foo/bar both checked
in. A p4 sync of a repository in this state fails. Deleting one of
the files recovers the repository.
When this happens we want git-p4 to recover in the same way as
perforce.
Note that Perforce has this change in their 2017.1 version:
Bugs fixed in 2017.1
#1489051 (Job #2170) **
Submitting a file with the same name as an existing depot
directory path (or vice versa) will now be rejected.
so people hopefully will not creating damaged Perforce repos
anymore, but "git p4" needs to be able to interact with already
corrupt ones.
Signed-off-by: Andrew Oakley <andrew@adoakley.name>
Reviewed-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4056-diff-order.sh')
0 files changed, 0 insertions, 0 deletions