pushmod.py:_isdir fail on windows if branchpath is ""(empty string)

Create issue
Issue #145 resolved
Former user created an issue

I have a follow assert when to try push changes to svn:

{{{ D:\Data\Python\rpc_server>hg push pushing to svn+http://svn/trunk/rpc-server searching for changes

svn: In file 'C:\Projects\subversion-1.6.6\subversion\libsvn_ra\ra_loader.c' line 622: assertion failed (*path != '/') }}}

so i change _isdir like this: {{{ def _isdir(svn, branchpath, svndir): try: if branchpath == '': svn.list_dir('%s%s' % (branchpath, svndir)) else: svn.list_dir('%s/%s' % (branchpath, svndir))

    return True
except core.SubversionException:
    return False

}}} And it's work in my case

Comments (3)

  1. Log in to comment