Merge pull request #47 from MightyCreak/fix-rcs-diff
Fix bug with RCS VCS
This commit is contained in:
commit
975bab89f6
|
@ -2337,6 +2337,12 @@ class _Rcs:
|
||||||
return popenRead(self.root, [ prefs.getString('rcs_bin_co'), '-p', '-q', '-r' + rev, safeRelativePath(self.root, name, prefs, 'rcs_cygwin') ], prefs, 'rcs_bash')
|
return popenRead(self.root, [ prefs.getString('rcs_bin_co'), '-p', '-q', '-r' + rev, safeRelativePath(self.root, name, prefs, 'rcs_cygwin') ], prefs, 'rcs_bash')
|
||||||
|
|
||||||
def _get_rcs_repo(path, prefs):
|
def _get_rcs_repo(path, prefs):
|
||||||
|
if os.path.isdir(os.path.join(path, 'RCS')):
|
||||||
|
return _Rcs(path)
|
||||||
|
|
||||||
|
# [rfailliot] this code doesn't seem to work, but was in 0.4.8 too.
|
||||||
|
# I'm letting it here until further tests are done, but it is possible
|
||||||
|
# this code never actually worked.
|
||||||
try:
|
try:
|
||||||
for s in os.listdir(path):
|
for s in os.listdir(path):
|
||||||
if s.endswith(',v') and os.path.isfile(os.path.join(path, s)):
|
if s.endswith(',v') and os.path.isfile(os.path.join(path, s)):
|
||||||
|
|
Loading…
Reference in New Issue