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

Does not migrate all files, error exit code 128, related to gitignore file #10

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

Comments

@GoogleCodeExporter
Copy link
Contributor

What steps will reproduce the problem?
1. Enter VSS repository location and local directory location and click on GO


What is the expected output? What do you see instead?

Whole repository is not migrated. I tried many times. I  get one error message 
which says "the following path are ignored by one one of your gitignore file. 
Use -f if you really want to add them. 

What version of the product are you using? On what operating system?
I am using 1.0.10.0 on windows 7 enterprise edition.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 13 Aug 2014 at 7:51

Attachments:

@wqweto
Copy link

wqweto commented Jan 6, 2016

I have a similar problem because there obviously is a .gitignore file in a folder in the source VSS repository.

Here is a dump of the releveant part of Vss2Git.log

...
Executing: C:\Program Files\Git\cmd\git.exe add -- C:\Git\Dreem\Src\NMAKE.EXE
!The following paths are ignored by one of your .gitignore files:
!Src/NMAKE.EXE
!Use -f if you really want to add them.
ERROR: git returned exit code 1
Executable: C:\Program Files\Git\cmd\git.exe
Arguments: add -- C:\Git\Dreem\Src\NMAKE.EXE
Stdout: 
Stderr: The following paths are ignored by one of your .gitignore files:
Src/NMAKE.EXE
Use -f if you really want to add them.
Hpdi.Vss2Git.ProcessExitException: git returned exit code 1
   at Hpdi.Vss2Git.GitWrapper.FailExitCode(String exec, String args, String stdout, String stderr, Int32 exitCode) in C:\Work\Temp\vss2git\Vss2Git\GitWrapper.cs:line 301
   at Hpdi.Vss2Git.GitWrapper.ExecuteUnless(ProcessStartInfo startInfo, String unless) in C:\Work\Temp\vss2git\Vss2Git\GitWrapper.cs:line 293
   at Hpdi.Vss2Git.GitWrapper.Add(String path) in C:\Work\Temp\vss2git\Vss2Git\GitWrapper.cs:line 110
   at Hpdi.Vss2Git.GitExporter.WriteRevision(VssPathMapper pathMapper, VssActionType actionType, String physicalName, Int32 version, String underProject, GitWrapper git) in C:\Work\Temp\vss2git\Vss2Git\GitExporter.cs:line 656
   at Hpdi.Vss2Git.GitExporter.ReplayRevision(VssPathMapper pathMapper, Revision revision, GitWrapper git, LinkedList`1 labels) in C:\Work\Temp\vss2git\Vss2Git\GitExporter.cs:line 523
   at Hpdi.Vss2Git.GitExporter.<>c__DisplayClass20_1.<ReplayChangeset>b__0() in C:\Work\Temp\vss2git\Vss2Git\GitExporter.cs:line 247
   at Hpdi.Vss2Git.GitExporter.AbortRetryIgnore(ThreadStart work, MessageBoxButtons buttons) in C:\Work\Temp\vss2git\Vss2Git\GitExporter.cs:line 593

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