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

Unknown revision action: 20 and empty folders #39

Open
carlosrochap opened this issue Feb 1, 2017 · 5 comments
Open

Unknown revision action: 20 and empty folders #39

carlosrochap opened this issue Feb 1, 2017 · 5 comments

Comments

@carlosrochap
Copy link

Hi,

I cloned this repo and tried to migrate an VSS repo into git, but I got the following error when I click Go

i187 pimgpsh_thumbnail_win_distr

The program keeps running, but when it finishes most of the folders are empty.

I'm using version 1.11 on windows 10. I also tried with version 1.10 but no luck either

Thanks in advance,
Carlos

@trevorr
Copy link
Owner

trevorr commented Feb 2, 2017

You can use VssDump to see if you can figure out what action 20 is. Vss2Git is based on reverse engineering the VSS repository format, since it has never been documented by Microsoft. As you can see here, actions 18, 20-22, and 24 do not have a known meaning.

I wonder if the folders are empty because that action is doing something significant or because the exception caused the processing of the current file to be aborted. It's probably the latter, so a simple fix could be ignoring unknown actions (ideally with a warning logged). Of course, it's hard to know how valid the conversion will be with actions ignored.

Since no one else has reported this error, I'd be curious to know what version of VSS created that action in your repository. Perhaps it was really new or really old?

@carlosrochap
Copy link
Author

the VSS version is SourceSafe version v6.0c

@alberb
Copy link

alberb commented Feb 24, 2017

I am having the same issue. Also on SourceSafe v6.0, VSS2GIT 1.0.11.0 on Windows 10.

JAD-SVK pushed a commit to JAD-SVK/vss2git that referenced this issue Jan 2, 2018
…at have already been replaced by a new one with the same logical name'

Signed-off-by: Július Adam <[email protected]>
@larsxschneider
Copy link

Any news on this topic? I am running into the same problem!

@suehshtri
Copy link

suehshtri commented Jan 25, 2019

I ended up adding more to the exception so I could see what was going on.

throw new ArgumentException("Unknown revision action " + revision.Action + " at revision " + revision + " " + revision.Revision + " dt:" + revision.DateTime);
produced
ERROR: Unknown revision action MysteryAction20 at revision Hpdi.VssPhysicalLib.CommonRevisionRecord 34 dt:12/21/1998 5:33:40 PM
I was able to better dig out the exact revision of the complaint. The context in the log turned out to be misleading given my inexperience with the vss2git code. I then went to go digging, and found mention of a file being 'archived'. Vss help does not open in Windows10 and I resorted to googling until I found a book mentioning VSS archiving. I think this effects a remove of the file. I suspect other actions may restore from an archive.

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

No branches or pull requests

5 participants