login
Header Space

 
 

git-svn: expand svn:keywords, or how else to deal with them?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: git discussion list <git@...>
Date: Friday, May 9, 2008 - 6:19 am

Hi,

I am using git-svn to track an upstream SVN project, which I then
package for Debian. Upstream uses $Id:$ all over the source code,
but I am not ready to argue with him that this ought to be removed.

The problem is that I build the Debian packages out of the git-svn
tree, but use the published tarball. The latter has $Id:$ expanded
in all files, while the git-svn tree does not - git-svn does not
expand them.

The result is that my Debianisation diff now reverts the expansion
for every single file. This is quite ugly.

I realise there are ways to prevent this, but I think that the
cleanest would be if git-svn could be taught to expand svn:keywords.

Is this something you could live with, Eric? I am willing to have
a go at the patch, but my Perl-foo is crap, so I may well fail...

--=20
martin | http://madduck.net/ | http://two.sentenc.es/
=20
"a mathematician is a device for turning coffee into theorems."
                                                         -- paul erd=F6s
=20
spamtraps: madduck.bogus@madduck.net
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-svn: expand svn:keywords, or how else to deal with them?, martin f krafft, (Fri May 9, 6:19 am)
speck-geostationary