Re: Git / Subversion Interoperability
- From
Karl Hasselström <kha@treskal.com>
- Date
- Mar 24, 2007, 18:55 UTC
- Message-ID
- <20070324185517.GA10876@diana.vm.bytemark.co.uk>
- In-Reply-To
- <20070324064130.GC25863@spearce.org>
On 2007-03-24 02:41:30 -0400, Shawn O. Pearce wrote:
Show 7 quoted lines
> That is not a bad idea at all. We could easily do > > svn:executable -> (mode & 0111); > svn:ignore -> .gitignore; > > I'm sure there are others, but they are the only two Karl mentioned, > and that I know of off the top of my head. ;-)
These are the two that git-svnimport handles. I don't think it knows about any other subversion properties.
There is a slight problem with directly converting between svn:ignore and .gitignore, though: the semantics are only almost the same. Specifically, git's ignore patters are recursive (applies to subdirectories) while subversion's are not. But it's not a big problem.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle