Example #1
0
 def _svnpopenauth(self, cmd):
     """ execute an svn command, return a pipe for reading stdin """
     cmd = svncommon.fixlocale() + cmd
     if self.auth is not None:
         cmd += " " + self.auth.makecmdoptions()
     return self._popen(cmd)
Example #2
0
File: svnurl.py Project: 6br/servo
 def _svnpopenauth(self, cmd):
     """ execute an svn command, return a pipe for reading stdin """
     cmd = svncommon.fixlocale() + cmd
     if self.auth is not None:
         cmd += ' ' + self.auth.makecmdoptions()
     return self._popen(cmd)
Example #3
0
 def _svncmdexecauth(self, cmd):
     """ execute an svn command 'as is' """
     cmd = svncommon.fixlocale() + cmd
     if self.auth is not None:
         cmd += " " + self.auth.makecmdoptions()
     return self._cmdexec(cmd)
Example #4
0
File: svnurl.py Project: 6br/servo
 def _svncmdexecauth(self, cmd):
     """ execute an svn command 'as is' """
     cmd = svncommon.fixlocale() + cmd
     if self.auth is not None:
         cmd += ' ' + self.auth.makecmdoptions()
     return self._cmdexec(cmd)