Jump to content

[BUG]: cm fast-export output is wrong when empty folders were moved


Anton

Recommended Posts

In case of an empty folder was moved or renamed `cm fast-export` generates incorrect file.

Further use of `git fast-import` produces an error: 

fatal: Path XXX not in branch

Simple repro:

1. Create empty folder

2. Move empty folder to a subfolder

Then use cm fast-export, then git fast-import to observe the error.

 

My real case was:

1. All files were deleted from a folder

2. And the empty folder was renamed

 

P.S. I see this as a bug because cm fast-export output is not symmetrical. It contains no file modification commands for when empty directory was created in Plastic but contains file rename commands for when empty directories where renamed.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...