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

svn2git --rebase failed, porcelain? #47

Open
jrochkind opened this issue Jan 23, 2012 · 4 comments
Open

svn2git --rebase failed, porcelain? #47

jrochkind opened this issue Jan 23, 2012 · 4 comments

Comments

@jrochkind
Copy link

Any ideas what's going wrong here?

[rochkind@xs001 umlaut]$ svn2git --rebase
command failed:
2>&1 git status --porcelain --untracked-files=no
[rochkind@xs001 umlaut]$ git status --porcelain --untracked-files=no
error: unknown option `porcelain'
usage: git status [options] [--] <filepattern>..

Hmm, not a recent enough git version to support "--porcelain"? Is it documented what git version you need for svn2git?

Also, I'm trying a --rebase here, because I already used svn2git on this same machine... with the same version of git installed. In fact, I swear I've done a rebase succesfully before too. Not sure what's changed.

@jrochkind
Copy link
Author

Ah, I figured out what changed was I upgraded svn2git from 2.1.0 to 2.1.2

Downgrade back to 2.1.0, it works again -- it still outputs git errors complaining about the "--porcelain" command, but in fact it does the "--rebase" just right anyway.

However, I still advise saying in the README what version of 'git' are required to be installed to be supported properly.

@stas
Copy link

stas commented Feb 29, 2012

Did you try upgrading git to latest stable 1.7.+?

@jrochkind
Copy link
Author

Yep, that's clearly what would be required. A bit inconvenient to do on my system, would require sysadmin/ops intervention. So I just downgraded svn2git to 2.1.0, and i'm good.

I still recommend you document in the README what versions of git are required for latest svn2git.

@stas
Copy link

stas commented Feb 29, 2012

I believe this can be closed.

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

2 participants