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

How to maintain svn revision number in svn2git migration repository #268

Open
nimmanapallivenu opened this issue Mar 19, 2018 · 2 comments

Comments

@nimmanapallivenu
Copy link

Recently one of my Svn project migrated to git using svn2git, is it possible to maintain old revision number in migrated git repository?

@Alex-Ayala-Bonilla
Copy link

Have you figured out this ?

@BKenkel
Copy link

BKenkel commented Mar 29, 2019

If you use -m or --metadata you get a string appended to the commit message with the following format:

git-svn-id: <svn_repo_url>/<trunk or name of branch>@<rev_number> <hash sort of thing that I haven't look at too much>

This is native to the git svn clone.

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

3 participants