# svn revision id in git commit?

2 messages from 2006-10-15 to 2006-10-15. Participants: Anand Kumria, Robin Rosenberg.
Thread: https://gitlist.dev/t/5931

## Anand Kumria, 2006-10-15 16:59

Subject: svn revision id in git commit?
Message-ID: <egtpe4$i8v$1@sea.gmane.org>
URL: https://gitlist.dev/e/egtpe4%24i8v%241%40sea.gmane.org

```
Hi,

I'm using git-svnimport with great success; generally when I do a merge
from the subversion (via git-svnimport) I tag the revision number I merge
up to.

It'd be very helpful if git-svnimport stored the revision number that
caused a particular commit to be generated -- is this possible? Would this
be a 'note' field in a git commit? Has anyone else done work on
git-svnimport to store this?

If not, I'll probably give it a go shortly.

Thanks,
Anand

```

## Robin Rosenberg, 2006-10-15 20:25

Subject: Re: svn revision id in git commit?
Message-ID: <200610152225.58744.robin.rosenberg.lists@dewire.com>
URL: https://gitlist.dev/e/200610152225.58744.robin.rosenberg.lists%40dewire.com
In-Reply-To: <egtpe4$i8v$1@sea.gmane.org>

```
söndag 15 oktober 2006 18:59 skrev Anand Kumria:
> Hi,
>
> I'm using git-svnimport with great success; generally when I do a merge
> from the subversion (via git-svnimport) I tag the revision number I merge
> up to.

The -r flags adds the subversion revision to the commit message. It's in the 
man page.

BTW, you may want to look at git-svn if you are shadowing a subversion repo. 
It adds then subversion revision by default. Neither creates a tag though.

-- robin

```
