Hi Luc,

Am 25.05.2013 21:53, schrieb Luc Maisonobe:
Le 25/05/2013 21:16, Oliver Heger a écrit :
Hi all,

Hi Oliver,


recently I switched from svn to git and now use git svn to do my commits.

One problem I have with this setup is that git svn does not honor the
autoprops configured for svn. Therefore, all newly added files are
missing these properties.

I think I am not the only git user here. So I would like to ask how
others address this problem.

This is the setting I have been used for months (probably more than one
year).

This seems strange to me, I thought git svn honoured the autoprops.
Looking back at a commit where I created lots of newx files (like
<http://markmail.org/message/4yb4yzp2ixqvhl2e>), the properties where
set properly. So I think it works for me. In my case, I work on Linux
and the subversion properties are set in a file $HOME/.subversion/config.

There is also one specific property that may need to be set specifically
for git, it is the line-endings encoding. On a Linux machine, I globally
set "core.autocrlf" ot "input" (the setting must be different for Windows).

thanks for your answer. Hm, it may be an OS-specific issue then (I am on Windows).

I found contradictory information on the net. While some say svn autoprops would work, there is the following statement in [1] (which should be the reference) in the "Bugs" section:

"We ignore all SVN properties except svn:executable."

Will have to do some more research, but currently I even don't know whether this is supposed to work :-( If somebody has a working configuration for Windows, please let me know!

Thanks
Oliver

[1] https://www.kernel.org/pub/software/scm/git/docs/git-svn.html

Luc



Thanks in advance!
Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to