From e535f80be12920fe8e8ef35b7ce0a23ea613eab4 Mon Sep 17 00:00:00 2001
From: hpk <none@none>
Date: Sun, 11 Feb 2007 12:01:27 +0100
Subject: [PATCH] [svn r38447] privatize internal regular expressions

--HG--
branch : trunk
---
 py/path/svn/wccommand.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/py/path/svn/wccommand.py b/py/path/svn/wccommand.py
index d3783259e..4f20932fd 100644
--- a/py/path/svn/wccommand.py
+++ b/py/path/svn/wccommand.py
@@ -193,7 +193,7 @@ class SvnWCCommandPath(common.FSPathBase):
         """ rename this path to target. """
         py.process.cmdexec("svn move --force %s %s" %(str(self), str(target)))
 
-    rex_status = re.compile(r'\s+(\d+|-)\s+(\S+)\s+(\S+)\s+(.*)')
+    _rex_status = re.compile(r'\s+(\d+|-)\s+(\S+)\s+(\S+)\s+(.*)')
 
     def status(self, updates=0, rec=0, externals=0):
         """ return (collective) Status object for this file. """
@@ -251,7 +251,7 @@ class SvnWCCommandPath(common.FSPathBase):
             #elif c0 in '~!' or c4 == 'S':
             #    raise NotImplementedError("received flag %r" % c0)
 
-            m = self.rex_status.match(rest)
+            m = self._rex_status.match(rest)
             if not m:
                 if c7 == '*':
                     fn = rest.strip()
@@ -328,7 +328,7 @@ class SvnWCCommandPath(common.FSPathBase):
             result.append((int(rev), name, line))
         return result
 
-    rex_commit = re.compile(r'.*Committed revision (\d+)\.$', re.DOTALL)
+    _rex_commit = re.compile(r'.*Committed revision (\d+)\.$', re.DOTALL)
     def commit(self, message=""): 
         """commit() returns None if there was nothing to commit
            and the revision number of the commit otherwise.
@@ -339,7 +339,7 @@ class SvnWCCommandPath(common.FSPathBase):
         except KeyError:
             pass
         if out: 
-            m = self.rex_commit.match(out)
+            m = self._rex_commit.match(out)
             return int(m.group(1))
 
     def propset(self, name, value, *args):