Fix error when using '-m' in an SVN repo
This commit is contained in:
parent
3998a92deb
commit
80667da3a5
|
@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- fixed missing directories when uninstalling
|
- fixed missing directories when uninstalling
|
||||||
- fixed bug introduced by r420 with RCS VCS
|
- fixed bug introduced by r420 with RCS VCS
|
||||||
- fixed broken drag'n'drop since migration to Python3/GTK3
|
- 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
|
## [0.4.8] - 2014-07-18
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -1334,7 +1334,6 @@ def relpath(a, b):
|
||||||
# by prepending './' to the basename
|
# by prepending './' to the basename
|
||||||
def safeRelativePath(abspath1, name, prefs, cygwin_pref):
|
def safeRelativePath(abspath1, name, prefs, cygwin_pref):
|
||||||
s = os.path.join(os.curdir, relpath(abspath1, os.path.abspath(name)))
|
s = os.path.join(os.curdir, relpath(abspath1, os.path.abspath(name)))
|
||||||
s = codecs.encode(s, sys.getfilesystemencoding())
|
|
||||||
if isWindows():
|
if isWindows():
|
||||||
if prefs.getBool(cygwin_pref):
|
if prefs.getBool(cygwin_pref):
|
||||||
s = s.replace('\\', '/')
|
s = s.replace('\\', '/')
|
||||||
|
|
Loading…
Reference in New Issue