threads / discuss / 12605

git svn dcommit does not cleanup after errors

Subject: git svn dcommit does not cleanup after errors

## tl;dr

2 messages between Mar 9, 2008 and Mar 14, 2008.

replies: 1people: 1as markdown or json

Alexander Gladysh· Mar 9, 2008, 13:36 UTC · lore
Hi, list!
(GIT v1.5.4.4)

When I'm doing git svn dcommit and it fails in the middle (due to SVN pre-commit hooks or connection errors or whatever), it leaves my HEAD rewound to the last commit it attempted to upload. I have to manually do git reset HEAD@{whatever}. Is this behaviour intended? Is there a more convenient way to restore my HEAD state?

Thanks in advance, Alexander.

Alexander Gladysh· Mar 14, 2008, 15:49 UTC · re: Alexander Gladysh · lore

Re: git svn dcommit does not cleanup after errors

Hi, list!
Show 7 quoted lines
>  (GIT v1.5.4.4)
>
>  When I'm doing git svn dcommit and it fails in the middle (due to SVN
>  pre-commit hooks or connection errors or whatever), it leaves my HEAD
>  rewound to the last commit it attempted to upload. I have to manually
>  do git reset HEAD@{whatever}. Is this behaviour intended? Is there a
>  more convenient way to restore my HEAD state?

Is this a RTFM question? Or is it a feature? I have not found any solutions to this problem so far, and this issue is quite annoying on bad network. :-(

Thanks in advance, Alexander.

← back to recent threads