-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Hi, I got some exceptions, while doing:
python ../svn2github.py --cache-dir ../DC_cache/ import cryham/doublecmd https://svn.code.sf.net/p/doublecmd/code/trunk
If I see this right, it seems to be during "git svn rebase", caused by "Access is denied" in my Temp dir (which was used fine so far).
Any idea why, or what to do with this?
Here is my log from Git Bash, I'm on Windows 7 (and all commands work there):
(At start there is like 5300 other messages looking like the one below "Fetching from SVN, revision):
Fetching from SVN, revision 5300/svn info https://svn.code.sf.net/p/doublecmd/code/trunk output did not specify the current revision
Rebasing SVN changes
Traceback (most recent call last):
File "../svn2github.py", line 149, in sync_github_mirror
git_svn_rebase(git_dir)
File "../svn2github.py", line 65, in git_svn_rebase
run_git_cmd(["svn", "rebase"], git_dir)
File "../svn2github.py", line 35, in run_git_cmd
return proc.run(["git"] + args, check=True, cwd=git_dir, stderr=DEVNULL, stdin=DEVNULL, stdout=PIPE)
File "C:\Users\aaa\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 487, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'svn', 'rebase']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "../svn2github.py", line 178, in
main()
File "../svn2github.py", line 173, in main
sync_github_mirror(args.github_repo, args.cache_dir, new_svn_url=new_svn_url)
File "../svn2github.py", line 156, in sync_github_mirror
save_cache(cache_path, os.path.join(tmp_dir, "cache.tar"), git_dir)
File "C:\Users\aaa\AppData\Local\Programs\Python\Python37\lib\tempfile.py", line 805, in exit
self.cleanup()
File "C:\Users\aaa\AppData\Local\Programs\Python\Python37\lib\tempfile.py", line 809, in cleanup
_shutil.rmtree(self.name)
File "C:\Users\aaa\AppData\Local\Programs\Python\Python37\lib\shutil.py", line 513, in rmtree
return _rmtree_unsafe(path, onerror)
File "C:\Users\aaa\AppData\Local\Programs\Python\Python37\lib\shutil.py", line 392, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\aaa\AppData\Local\Programs\Python\Python37\lib\shutil.py", line 392, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\aaa\AppData\Local\Programs\Python\Python37\lib\shutil.py", line 392, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
[Previous line repeated 1 more time]
File "C:\Users\aaa\AppData\Local\Programs\Python\Python37\lib\shutil.py", line 397, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "C:\Users\aaa\AppData\Local\Programs\Python\Python37\lib\shutil.py", line 395, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 5] Access is denied: 'C:\Users\aaa\AppData\Local\Temp\svn2github-u13aghfg\repo\.git\objects\05\29174db568c98cadabe02d892ea402b50da6b4'