{"thread":{"id":"12605","subject":"git svn dcommit does not cleanup after errors","startedAt":"2008-03-09T13:36:42Z","lastAt":"2008-03-14T15:49:10Z","messageCount":2,"participants":["Alexander Gladysh"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"71516","messageId":"c6c947f60803090636m3c656d35x5a924d093f68628e@mail.gmail.com","threadId":"12605","inReplyTo":null,"subject":"git svn dcommit does not cleanup after errors","fromName":"Alexander Gladysh","fromEmail":"agladysh@gmail.com","sentAt":"2008-03-09T13:36:42Z","receivedAt":"2008-03-09T13:36:42Z","isPatch":false,"sender":{"key":"agladysh@gmail.com","avatar":"https://avatars.githubusercontent.com/u/38239?v=4"},"body":"Hi, list!\n\n(GIT v1.5.4.4)\n\nWhen I'm doing git svn dcommit and it fails in the middle (due to SVN\npre-commit hooks or connection errors or whatever), it leaves my HEAD\nrewound to the last commit it attempted to upload. I have to manually\ndo git reset HEAD@{whatever}. Is this behaviour intended? Is there a\nmore convenient way to restore my HEAD state?\n\nThanks in advance,\nAlexander.\n"},{"id":"72103","messageId":"c6c947f60803140849n7116a58cp77e10217f2d97a38@mail.gmail.com","threadId":"12605","inReplyTo":"c6c947f60803090636m3c656d35x5a924d093f68628e@mail.gmail.com","subject":"Re: git svn dcommit does not cleanup after errors","fromName":"Alexander Gladysh","fromEmail":"agladysh@gmail.com","sentAt":"2008-03-14T15:49:10Z","receivedAt":"2008-03-14T15:49:10Z","isPatch":false,"sender":{"key":"agladysh@gmail.com","avatar":"https://avatars.githubusercontent.com/u/38239?v=4"},"body":"Hi, list!\n\n>  (GIT v1.5.4.4)\n>\n>  When I'm doing git svn dcommit and it fails in the middle (due to SVN\n>  pre-commit hooks or connection errors or whatever), it leaves my HEAD\n>  rewound to the last commit it attempted to upload. I have to manually\n>  do git reset HEAD@{whatever}. Is this behaviour intended? Is there a\n>  more convenient way to restore my HEAD state?\n\nIs this a RTFM question? Or is it a feature? I have not found any\nsolutions to this problem so far, and this issue is quite annoying on\nbad network. :-(\n\nThanks in advance,\nAlexander.\n"}]}