Continuing partial git svn dcommit after failed pre-commit hook -
trying import existing git repository svn per this answer; went smoothly couple of commits, hit failed precommit hook.
r180827 = 444fa1c75e5a31fe8d887637a7fbd3fc62b34354 (refs/remotes/trunk) no changes between current head , refs/remotes/trunk resetting latest refs/remotes/trunk unstaged changes after reset: m [some file] m [another file] m [...etc...] [problem file] repository hook failed: 'pre-commit' hook failed error output: [error description] @ /usr/libexec/git-core/git-svn line 922 i fixed hook past it; when tried git svn dcommit again (clearly wrong), got
[some file]: needs update [another file]: needs update [...etc...] when 'git status', get:
# modified: [some file] # modified: [another file] # modified: [...etc...] # # untracked files: # (use "git add<file>..." include in committed # # [problem file] # [other file modified in commit created problem file] # [yet other files modified in commit] # [...etc...] i suppose blow whole svn tree away , start over, i'd rather not. how recover , continue dcommit?
i got exact same problem because of following error when dcommitting:
0 [main] perl.exe" 5992 handle_exceptions: exception: status_access_violation 6635 [main] perl.exe" 5992 open_stackdumpfile: dumping stack trace perl.exe.stackdump since not find other solution, did local commit on changes "uncommitted" (as per last example in question), , after run dcommit again. squashed remaining local commits single one, @ least worked.
if knows of better solution, highly appreciated.
Comments
Post a Comment