subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1401653 - /subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py
Date Wed, 24 Oct 2012 12:40:28 GMT
Author: danielsh
Date: Wed Oct 24 12:40:28 2012
New Revision: 1401653

URL: http://svn.apache.org/viewvc?rev=1401653&view=rev
Log:
svnwcsub: s/update/switch/ to ensure the wc remains of the correct URL even if
it had been manually switched or the config'd URL changed.

[in tools/server-side/svnpubsub]
* svnwcsub.py
  (BackgroundWorker._update): s/update/switch/

Modified:
    subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py

Modified: subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py?rev=1401653&r1=1401652&r2=1401653&view=diff
==============================================================================
--- subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py (original)
+++ subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py Wed Oct 24 12:40:28 2012
@@ -267,13 +267,15 @@ class BackgroundWorker(threading.Thread)
 
         ### we need to move some of these args into the config. these are
         ### still specific to the ASF setup.
-        args = [self.svnbin, 'update',
+        args = [self.svnbin, 'switch',
                 '--quiet',
                 '--non-interactive',
                 '--trust-server-cert',
                 '--ignore-externals',
                 '--config-option',
                 'config:miscellany:use-commit-times=on',
+                '--',
+                wc.url,
                 wc.path]
         subprocess.check_call(args, env=self.env)
 



Mime
View raw message