« Return to Thread: Translatable string mystery

Re: Translatable string mystery

by Stéphane Charette-2 :: Rate this Message:

Reply to Author | View in Thread

On Mon, Nov 24, 2008 at 13:35, Benny Malengier
<benny.malengier@...> wrote:
> Brian, is there no subversion option to make this impossible? I remember
> something like that but believe subversion is a specialty of you ;-)
> We can hardly forbid the use of windows in developping.

There is a subversion propset that tells svn what kind of end-of-line
processing you want it to use.

No process, convert to local host ("native"), force CR, force LF, force CRLF.

(Did I miss one?)

The propset is called svn:eol-style.  For example, try running:

    svn -v proplist *.py

(I'm not at my computer with GRAMPS/SVN, but I think that is correct.)

So if we tell svn to use "native", the next time you check out (or
check in?) the file I believe it will go through and fix all eol in
the file to match the native OS-specific method typically used to
indicate end-of-line.  This way you wont have files with a mix of
CRLF, CR, and LF, which is probably what caused the confusion in this
case.

This property has to be set "per file".  There is no global setting as
far as I remember, and the setting is not local to your dev
environment but is stored as meta-data in the svn database.

Stéphane

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gramps-devel mailing list
Gramps-devel@...
https://lists.sourceforge.net/lists/listinfo/gramps-devel

 « Return to Thread: Translatable string mystery