Skip to content

History missing when file moved to another VSS project #8

@GoogleCodeExporter

Description

@GoogleCodeExporter
My VSS repo has been split into a number of smaller GitHub repos by using 
vss2git to import sub-projects instead of from $/. Where I have moved both 
files and projects "sideways" they have not had their full history imported.

1. Create a project in VSS with a file, e.g. $/Project-A/MyFile.txt
2. Edit the file a few times to give it some history
3. Create a new project parallel to it, e.g. $/Project-B
4. Use the VSS "move" command (e.g. right-drag) the file MyFile.txt from 
Project-A to Project-B

When using vss2git to create a new Git repo from $/Project-B the files in the 
Project-B folder only have the history for the single revision that existed 
when the file was moved. The prior revisions from its time under $/Project-A 
are missing.

I'm using 1.0.10.0 and have seen this on both XP and Vista.

My suspicion is that although vss2git can trace the history back (it seems to 
detect all the older revisions from the looks of the progress messages), it is 
somehow filtering them out because the import is requested to be rooted on 
$/Project-B, which is not a parent of where the original revisions took place.

The following GitHub repos of mine shows that no history exists (and has a 
commit date based on the time the file was moved in VSS, not the time the last 
revision took place).

https://github.com/chrisoldwood/Scripts
https://github.com/chrisoldwood/WIN32-2

Original issue reported on code.google.com by chrisold...@gmail.com on 27 Oct 2013 at 9:52

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions