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

Identity-Map not working #52

Open
fwhenin opened this issue Sep 19, 2018 · 7 comments
Open

Identity-Map not working #52

fwhenin opened this issue Sep 19, 2018 · 7 comments
Labels

Comments

@fwhenin
Copy link

fwhenin commented Sep 19, 2018

Seems like the application is ignoring my identity-map file. I'm using the git-svn syntax in the file, and when i run svn-all-fast-export, it seems like it either thinks I'm not passing anything to that part or ignores it completely. any ideas?

@eeijlar
Copy link

eeijlar commented Sep 20, 2018

Can you share a snippet from your file and the command you are using to run?

@fwhenin
Copy link
Author

fwhenin commented Oct 9, 2018

sorry about my late response... I followed the syntax for the git author file, and used the same exact command as the readme file had with --identity-map authors.txt. I ended up forking the repo, and changing all the dictionary of the authors to use string instead of a ByteArray, You can see it here

@Vampire
Copy link
Contributor

Vampire commented Oct 9, 2018

Hm, that is really strange. I also use the option and it is working properly here without your changes

@Vampire
Copy link
Contributor

Vampire commented Oct 9, 2018

Do you maybe have an MVCE to reproduce the problem? I really wonder why it works for me but not for you.

@humbled
Copy link

humbled commented Jan 30, 2020

I too have this issue currently, but I've successfully used the tool previously in a different environment. The successful env was Ubuntu (ec2 instance created for the sole purpose) and the ignoring of the authors file is happening for me when trying on a centos7 box. (Different workplace meaning I can't use ec2). Do you have a centos box to check it on? Cheers

@humbled
Copy link

humbled commented Feb 4, 2020

Also didn't work on an Ubuntu box. My next test will be to use an older version of this lib, back to when it worked for me

@humbled
Copy link

humbled commented Feb 5, 2020

Ok resolved for me, I was using the wrong format for this file. I had previously used
"svnuser"="git user <[email protected]>"
But looking at main.cpp I can see it relies on " = ". Changed to
svnuser = git user <[email protected]>
and it worked! I have no idea why my previous style worked (and I'd changed to include quotes last time I used it, out of necessity). I submitted a PR to output an error message (not a c++ dev).

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

No branches or pull requests

5 participants