Skip to content
Snippets Groups Projects
Commit 3246f2fa authored by Sean Farley's avatar Sean Farley
Browse files

import_git_commit: skip hgsubstate logic if file was deleted

Previously, there was an edge case for Git repositories that started as
Mercurial repositories and had used subrepos where a deleted .hgsubstate would
be ignored and therefore reintroduced.

This patch fixes that behavior by checking for the deleted .hgsubstate file
first.

A test has been added to verify behavior.
parent 6aa31a3b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment