Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2014-08-11 Thread masaru tsuchiyama
Hello Could you review my patch? 2013-09-08 23:25 GMT+09:00 Masaru Tsuchiyama m.tma...@gmail.com: Ben Reser wrote: On 8/18/13 5:34 AM, Daniel Shahaf wrote: Haven't looked at the rest of the patch, perhaps Ben will as he reviewed an earlier iteration. (but I know he is a bit busy this

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2014-08-11 Thread Masaru Tsuchiyama
I updated for head revision. [[[ add support for svnrdump to svn-backup-dumps.py * tools/server-side/svn-backup-dumps.py () : fix comment () : update to ver 0.7 () : import urlparse (SvnBackup.__init__) : fix message in SvnBackupException constructor. (SvnBackup.__init__) : check

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2013-09-08 Thread Masaru Tsuchiyama
Ben Reser wrote: On 8/18/13 5:34 AM, Daniel Shahaf wrote: Haven't looked at the rest of the patch, perhaps Ben will as he reviewed an earlier iteration. (but I know he is a bit busy this week, including a release tomorrow and several other things..) It's starred in my mailbox. Hello Ben

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2013-08-18 Thread Daniel Shahaf
Masaru Tsuchiyama wrote on Thu, Aug 15, 2013 at 15:06:12 +0900: I added -- to the command line options. Thanks. +# pass -- to tell commands that 'self.__repospath' is not a command-line option. +cmd = [ self.__svn_path, log, -l 1, -q, --, self.__repospath ] [-l 1] should

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2013-08-18 Thread Masaru Tsuchiyama
Daniel Shahaf wrote: +# pass -- to tell commands that 'self.__repospath' is not a command-line option. +cmd = [ self.__svn_path, log, -l 1, -q, --, self.__repospath ] [-l 1] should be either [-l1] or [-l, 1]. Fixed in the attached patch. -- Masaru Tsuchiyama

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2013-08-18 Thread Ben Reser
On 8/18/13 5:34 AM, Daniel Shahaf wrote: Haven't looked at the rest of the patch, perhaps Ben will as he reviewed an earlier iteration. (but I know he is a bit busy this week, including a release tomorrow and several other things..) It's starred in my mailbox.

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2013-08-15 Thread Masaru Tsuchiyama
Hello (2013/08/08 22:47), C. Michael Pilato wrote: On 08/08/2013 09:40 AM, Daniel Shahaf wrote: On Thu, Aug 08, 2013 at 09:26:09AM -0400, C. Michael Pilato wrote: This tells the options parser that there are no command-line options which follow, which would keep self.__repospath from being

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2013-08-14 Thread Masaru Tsuchiyama
Hello (2013/08/08 22:47), C. Michael Pilato wrote: On 08/08/2013 09:40 AM, Daniel Shahaf wrote: On Thu, Aug 08, 2013 at 09:26:09AM -0400, C. Michael Pilato wrote: This tells the options parser that there are no command-line options which follow, which would keep self.__repospath from being

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2013-08-08 Thread Masaru Tsuchiyama
Typo, revision_regex fixed at the attached patch. +cmd = [ self.__svnadmin_path, dump, +--incremental, -r, revparam, self.__repospath ] That doesn't look right. If self.__repospath can be a local path to a repository root, you shouldn't pass it as an

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2013-08-08 Thread Daniel Shahaf
Masaru Tsuchiyama wrote on Thu, Aug 08, 2013 at 22:17:05 +0900: +cmd = [ self.__svnadmin_path, dump, +--incremental, -r, revparam, self.__repospath ] That doesn't look right. If self.__repospath can be a local path to a repository root, you shouldn't

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2013-08-08 Thread C. Michael Pilato
On 08/08/2013 09:17 AM, Masaru Tsuchiyama wrote: Also, it'd be good practice to pass -- in front of self.__repospath, but that appears to be a preexisting problem in the code (i.e., not introduced by your patch). What is the purpose in passing --? This tells the options parser that there

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2013-08-08 Thread Daniel Shahaf
On Thu, Aug 08, 2013 at 09:26:09AM -0400, C. Michael Pilato wrote: This tells the options parser that there are no command-line options which follow, which would keep self.__repospath from being treated as an option in the unlikely scenario that it begins with a hyphen. Right. 99% of the time

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2013-08-08 Thread C. Michael Pilato
On 08/08/2013 09:40 AM, Daniel Shahaf wrote: On Thu, Aug 08, 2013 at 09:26:09AM -0400, C. Michael Pilato wrote: This tells the options parser that there are no command-line options which follow, which would keep self.__repospath from being treated as an option in the unlikely scenario that it

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2013-08-07 Thread Masaru Tsuchiyama
support for svnrdump to svn-backup-dumps.py * tools/server-side/svn-backup-dumps.py () : fix comment () : update to ver 0.7 () : import urlparse (SvnBackup.__init__) : fix message in SvnBackupException constructor. (SvnBackup.__init__) : check whether the second parameter is a local

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2013-08-07 Thread Daniel Shahaf
Thanks for sending text/plain patches! +++ tools/server-side/svn-backup-dumps.py (working copy) +def get_head_rev_for_url(self): +extra_param = self.get_extra_param() + +# use 'svn yougest' to get the HEAD revision of URL +# 'svn yougest' is supported on

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2013-08-07 Thread Daniel Shahaf
+revison_regex = re.compile(^r(\d+)) Typo, revision_regex ... and while at it, use r literals to avoid clashes with a potential future r\d backslash escape sequence.

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2013-08-06 Thread Masaru Tsuchiyama
Hi. Does anybody comment my patch? (2013/08/04 9:36), Masaru Tsuchiyama wrote: Hello I attach a patch to add support for svnrdump to svn-backup-dumps.py. [[[ add support for svnrdump to svn-backup-dumps.py * tools/server-side/svn-backup-dumps.py () : fix comment () : update to

Re: [PATCH] add support for svnrdump to svn-backup-dumps.py

2013-08-06 Thread Ben Reser
On Sat, Aug 3, 2013 at 5:36 PM, Masaru Tsuchiyama m.tma...@gmail.com wrote: Hello I attach a patch to add support for svnrdump to svn-backup-dumps.py. [[[ add support for svnrdump to svn-backup-dumps.py * tools/server-side/svn-backup-dumps.py () : fix comment () : update to ver 0.7

[PATCH] add support for svnrdump to svn-backup-dumps.py

2013-08-03 Thread Masaru Tsuchiyama
Hello I attach a patch to add support for svnrdump to svn-backup-dumps.py. [[[ add support for svnrdump to svn-backup-dumps.py * tools/server-side/svn-backup-dumps.py () : fix comment () : update to ver 0.7 () : import urlparse (SvnBackup.__init__) : fix message in SvnBackupException