[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: Masaru Tsuchiyama <m.tmatma_at_gmail.com>
Date: Thu, 15 Aug 2013 15:06:12 +0900

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 treated as an
>>> option in the unlikely scenario that it begins with a hyphen.

I added "--" to the command line options.

[[[
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 whether the second parameter is a local
                           path or an URL.
    (SvnBackup.__init__) : check whether --deltas option is specified when
                           the second parameter is an URL.
    (SvnBackup.__init__) : set svn and svnrdump paths.
    (SvnBackup.__init__) : set flags for --trust-server-cert and
                           --no-auth-cache.
    (SvnBackup.exec_cmd_nt) : open null device and pass it to Popen
                              when printerr is False.
    (SvnBackup.get_extra_param) : get extra option for svn and svnrdump.
                                  always pass --non-interactive to
                                  svn and svnrdump to make sure.
    (SvnBackup.get_head_rev) : rename this to get_head_rev_for_local.
    (SvnBackup.get_head_rev_for_url) : get HEAD revision for an URL.
    (SvnBackup.get_head_rev) : call get_head_rev_for_local for a local
                               path, get_head_rev_for_url for an URL
    (SvnBackup.transfer_smb): pass self.__print_stderr to self.exec_cmd().
    (SvnBackup.create_dump) : invoke svnadmin for a local path,
                              svnrdump for an URL.
    (SvnBackup.create_dump) : pass "--" before self.__repospath.
    () : fix help message.
    () : add --svnrdump-path and --svn-path.
    () : add --trust-server-cert.
    () : add --no-auth-cache.
    () : add --non-interactive.
    () : add --print-stderr.
]]]

-- 
Masaru Tsuchiyama <m.tmatma_at_gmail.com>

Received on 2013-08-15 08:06:49 CEST

This is an archived mail posted to the Subversion Dev mailing list.