meld r1211 - in trunk: . vc
- From: vincele svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r1211 - in trunk: . vc
- Date: Tue, 3 Mar 2009 00:05:42 +0000 (UTC)
Author: vincele
Date: Tue Mar 3 00:05:42 2009
New Revision: 1211
URL: http://svn.gnome.org/viewvc/meld?rev=1211&view=rev
Log:
Remove now unused get_working_directory()
Modified:
trunk/vc/_vc.py
trunk/vcview.py
Modified: trunk/vc/_vc.py
==============================================================================
--- trunk/vc/_vc.py (original)
+++ trunk/vc/_vc.py Tue Mar 3 00:05:42 2009
@@ -102,9 +102,6 @@
raise ValueError()
return None
- def get_working_directory(self, workdir):
- return workdir
-
def cache_inventory(self, topdir):
pass
Modified: trunk/vcview.py
==============================================================================
--- trunk/vcview.py (original)
+++ trunk/vcview.py Tue Mar 3 00:05:42 2009
@@ -369,9 +369,9 @@
kill = len(pbase) and (len(pbase)+1) or 0
return p[kill:] or "."
if len(files) == 1 and os.path.isdir(files[0]):
- workdir = self.vc.get_working_directory(files[0])
+ workdir = files[0]
else:
- workdir = self.vc.get_working_directory( _commonprefix(files) )
+ workdir = _commonprefix(files)
files = [ relpath(workdir, f) for f in files ]
r = None
self.consolestream.write( misc.shelljoin(command+files) + " (in %s)\n" % workdir)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]