Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

History missing when file moved to another VSS project #8

Open
GoogleCodeExporter opened this issue Apr 16, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link
Contributor

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 [email protected] on 27 Oct 2013 at 9:52

@MobesE46
Copy link

I have the same problem. I'm on VSS 6.0. I noticed that if I try to recursively view the history within VSS on the folder that I moved the other projects into, I also only get the history of the move itself. It's only when I view history on one of the projects/folders that was moved do I get the full recursive file history.

I have no idea how this tool is coded, but my guess is that this is probably a limitation within VSS that's causing this. It's probably coded to only pull the recursive history for the current project/folder you selected as the "Project".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants