Re: "svn patch" and the TAB character

2019-12-14 Thread Nathan Hartman
On Fri, Dec 13, 2019 at 5:00 PM Doug Robinson wrote: > If I use "svn diff --patch compatible" to produce a patch file. Then edit > that patch file using an editor with settings that replace the TAB with a > "proper" number of SPACE characters, the "svn patch" command will declare: > > $ svn patc

Re: Translatable diff headers (was: Re: "svn patch" and the TAB character)

2019-12-14 Thread Stefan Sperling
On Sat, Dec 14, 2019 at 12:28:04PM +, Daniel Shahaf wrote: > Stefan Sperling wrote on Sat, 14 Dec 2019 11:13 +00:00: > > The problem is that svn diff's revision number marker " (revision XY)" must > > be separated by a TAB. > > In diff generation, the whole string is translated: _("%s\t(revisi

Translatable diff headers (was: Re: "svn patch" and the TAB character)

2019-12-14 Thread Daniel Shahaf
Stefan Sperling wrote on Sat, 14 Dec 2019 11:13 +00:00: > The problem is that svn diff's revision number marker " (revision XY)" must > be separated by a TAB. In diff generation, the whole string is translated: _("%s\t(revision %ld)"). It seems to me that if a translator changed the start of the

Re: "svn patch" and the TAB character

2019-12-14 Thread Stefan Sperling
On Sat, Dec 14, 2019 at 10:59:01AM +, Daniel Shahaf wrote: > Doug Robinson wrote on Fri, 13 Dec 2019 21:59 +00:00: > > If I [...] edit that patch file using an editor with settings that replace > > the TAB > > with a "proper" number of SPACE characters, > > Don't do that. If the context lin

Re: swig-py3 str/bytes difference in svn_config_*()

2019-12-14 Thread Daniel Shahaf
Yasuhito FUTATSUKI wrote on Sat, 14 Dec 2019 04:19 +00:00: > Though this issue was already resolved... > > On 2019/12/13 17:28, Yasuhito FUTATSUKI wrote: > > On 2019/12/13 16:24, Daniel Shahaf wrote: > >> Thanks for the quick fix.  However, it doesn't work on my machine (Debian > >> stretch). > >

Re: "svn patch" and the TAB character

2019-12-14 Thread Daniel Shahaf
Doug Robinson wrote on Fri, 13 Dec 2019 21:59 +00:00: > If I [...] edit that patch file using an editor with settings that replace > the TAB > with a "proper" number of SPACE characters, Don't do that. If the context lines start with tabs (ignoring the first column), they would be corrupted and