Merge pull request #56 from MightyCreak/fix-svn-repo-diff

Fix error when using '-m' in an SVN repo
This commit is contained in:
Creak 2020-07-01 19:58:16 -04:00 committed by GitHub
commit 012501624f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- fixed missing directories when uninstalling
- fixed bug introduced by r420 with RCS VCS
- fixed broken drag'n'drop since migration to Python3/GTK3
- fixed error when using '-m' in an SVN repo
## [0.4.8] - 2014-07-18
### Added

View File

@ -1334,7 +1334,6 @@ def relpath(a, b):
# by prepending './' to the basename
def safeRelativePath(abspath1, name, prefs, cygwin_pref):
s = os.path.join(os.curdir, relpath(abspath1, os.path.abspath(name)))
s = codecs.encode(s, sys.getfilesystemencoding())
if isWindows():
if prefs.getBool(cygwin_pref):
s = s.replace('\\', '/')