Re: svnadmin create complains about subrepositories

2011-02-12 Thread Daniel Shahaf
Stefan Sperling wrote on Sat, Feb 12, 2011 at 13:59:16 +0100: > What I am saying is that the following should error out: > $ svnadmin create repos > $ cd repos/db > $ svnadmin create repos > $ Oh, sorry, Stefan. I missed that it doesn't error when the cwd is repos/db. (Wh

Re: [PATCH] Fix issue #3686 - executable bit not set during merge

2011-02-12 Thread Daniel Shahaf
Daniel Becroft wrote on Sat, Feb 12, 2011 at 08:37:12 +1000: > On Sat, Feb 12, 2011 at 7:31 AM, Daniel Shahaf > wrote: > > > Daniel Becroft wrote on Sat, Feb 12, 2011 at 06:27:31 +1000: > > > On Fri, Feb 11, 2011 at 11:26 PM, Daniel Shahaf > >wrote: > > > > Daniel Becroft wrote on Thu, Feb 10,

Re: svnadmin create complains about subrepositories

2011-02-12 Thread Stefan Sperling
On Sat, Feb 12, 2011 at 05:31:50PM +0200, Daniel Shahaf wrote: > Stefan Sperling wrote on Sat, Feb 12, 2011 at 13:59:16 +0100: > > What I am saying is that the following should error out: > > $ svnadmin create repos > > $ cd repos/db > > $ svnadmin create repos > > $ > > Oh, sorry,

Re: [PATCH] Re: Incorporate svn 1.7 changes to vc-svn.el

2011-02-12 Thread Noorul Islam K M
"C. Michael Pilato" writes: > On 01/29/2011 01:21 AM, Noorul Islam K M wrote: > >> When I was trying to figure out what is going on, I could see that there >> are lots of improvements in vc-svn.el version found here >> "http://bzr.savannah.gnu.org/r/emacs/trunk/lisp/vc"; >> >> I am wondering why

Re: svnadmin create complains about subrepositories

2011-02-12 Thread Stefan Sperling
[ Cc -= users@ ] On Sat, Feb 12, 2011 at 05:50:48PM +0100, Stefan Sperling wrote: > [[[ > * subversion/libsvn_repos/repos.c > (svn_repos-create): Prevent repository creation within all subdirectories >of a repository, not just within the top-level one. While expanding svnadmin_tests.py 18 t

Re: svn commit: r1070113 - in /subversion/trunk/subversion: libsvn_repos/repos.c tests/cmdline/svnadmin_tests.py

2011-02-12 Thread Daniel Shahaf
s...@apache.org wrote on Sat, Feb 12, 2011 at 17:09:14 -: > +++ subversion/trunk/subversion/libsvn_repos/repos.c Sat Feb 12 17:09:14 2011 > @@ -1369,6 +1369,7 @@ svn_repos_create(svn_repos_t **repos_p, +1 > Modified: subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py > URL: > http:/

Re: svn commit: r1070113 - in /subversion/trunk/subversion: libsvn_repos/repos.c tests/cmdline/svnadmin_tests.py

2011-02-12 Thread Stefan Sperling
On Sat, Feb 12, 2011 at 07:22:09PM +0200, Daniel Shahaf wrote: > s...@apache.org wrote on Sat, Feb 12, 2011 at 17:09:14 -: > > +++ subversion/trunk/subversion/libsvn_repos/repos.c Sat Feb 12 17:09:14 > > 2011 > > @@ -1369,6 +1369,7 @@ svn_repos_create(svn_repos_t **repos_p, > > +1 > > > Modi

Re: diff-optimizations-tokens branch: I think I'm going to abandon it

2011-02-12 Thread Johan Corveleyn
On Thu, Dec 2, 2010 at 9:59 PM, Daniel Shahaf wrote: > Johan Corveleyn wrote on Thu, Dec 02, 2010 at 21:21:20 +0100: >> On Thu, Dec 2, 2010 at 6:18 PM, Bill Tutt wrote: >> >    If tokens include keyword expansion operations then stop once you >> > hit one. The possible source of bugs outways the

Best way to issue a warning in a C test

2011-02-12 Thread Danny Trebbien
I want to add a test to `subversion/tests/libsvn_subr/subst_translate-test.c` that will set the locale with setlocale(LC_ALL, "eo.ISO-8859-3"), issuing a warning if it is unable to because the eo.ISO-8859-3 locale is not installed. What is a good way to do this? I don't think that the test should

Re: Best way to issue a warning in a C test

2011-02-12 Thread Philip Martin
Danny Trebbien writes: > I want to add a test to > `subversion/tests/libsvn_subr/subst_translate-test.c` that will set > the locale with setlocale(LC_ALL, "eo.ISO-8859-3"), issuing a warning > if it is unable to because the eo.ISO-8859-3 locale is not installed. > > What is a good way to do this?

Re: Best way to issue a warning in a C test

2011-02-12 Thread Danny Trebbien
> I had to look that up, it's Esperanto.  Why do you want that one?  What > are you testing?  It doesn't appear to be available on my machine.  Do > you just want a non-utf8 locale? Yes, I basically just want a non-UTF-8 locale. Which one do you suggest? > You could write a function to determine

Re: Best way to issue a warning in a C test

2011-02-12 Thread Philip Martin
Danny Trebbien writes: >> I had to look that up, it's Esperanto.  Why do you want that one?  What >> are you testing?  It doesn't appear to be available on my machine.  Do >> you just want a non-utf8 locale? > > Yes, I basically just want a non-UTF-8 locale. Which one do you suggest? How about

Re: Best way to issue a warning in a C test

2011-02-12 Thread Philip Martin
Philip Martin writes: > Danny Trebbien writes: > >>> I had to look that up, it's Esperanto.  Why do you want that one?  What >>> are you testing?  It doesn't appear to be available on my machine.  Do >>> you just want a non-utf8 locale? >> >> Yes, I basically just want a non-UTF-8 locale. Which

Re: Best way to issue a warning in a C test

2011-02-12 Thread Danny Trebbien
> How about trying a list?  en_US.8859-1 is widely available even if not > actually installed.  I don't know which non-utf8 locales are widely > installed, personally I have en_GB.8859-1.  We have several German devs > so maybe de_DE.8859-1?  Perhaps jp_JP.EUC-JP? While I couldn't get SVN_TEST_SKI

Re: Best way to issue a warning in a C test

2011-02-12 Thread Danny Trebbien
> While I couldn't get SVN_TEST_SKIP2 to work because the availability > of a locale cannot be tested at preprocessing time Actually, at compile time.

[PATCH] add a test of svn_subst_translate_string2() to the subst_translate-test test suite

2011-02-12 Thread Danny Trebbien
Attached is a patch that adds a new test to the subst_translate-test test suite (defined in `subversion/tests/libsvn_subr/subst_translate-test.c`). Also attached is a log message. The purpose of the new test is to test svn_subst_translate_string2() with ENCODING set to NULL. In this case, VALUE

[PATCH] allow svnsync to translate non-UTF-8 log messages to UTF-8 (v. 5)

2011-02-12 Thread Danny Trebbien
Attached are version 5 of the patch and log message. The six DUMP files are the same, and TGZ archives of these files can be downloaded from Gmane: http://cache.gmane.org//gmane/comp/version-control/subversion/devel/125057-001.bin and http://cache.gmane.org//gmane/comp/version-control/subversio

Re: svn commit: r1069588 - in /subversion/trunk: subversion/tests/cmdline/diff_tests.py subversion/tests/cmdline/svntest/err.py subversion/tests/cmdline/svntest/verify.py tools/dev/gen-py-errors.py

2011-02-12 Thread Daniel Shahaf
hwri...@apache.org wrote on Thu, Feb 10, 2011 at 22:04:43 -: > Added: subversion/trunk/tools/dev/gen-py-errors.py > URL: > http://svn.apache.org/viewvc/subversion/trunk/tools/dev/gen-py-errors.py?rev=1069588&view=auto > ==