Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subgit import fails after being interrupted #30

Open
thombergs opened this issue Jan 9, 2017 · 2 comments
Open

Subgit import fails after being interrupted #30

thombergs opened this issue Jan 9, 2017 · 2 comments
Labels

Comments

@thombergs
Copy link
Member

After killing the server thread during a subgit run and then restarting the subgit run, the subgit run fails with the following error. Is it possible to cancel subgit runs gracefully so that they can be restarted correctly?

2017-01-09T15:59:20.685 - Starting subgit import run
SubGit version 3.2.2 ('Bobique') build #3603

Continuing after an interrupted import.

Translating Subversion revisions to Git commits...

IMPORT FAILED

error: There're new Git commits, not present in SVN repository, can't import.
error: If you want continuous synchronization between SVN and Git repositories, use "subgit install" command instead.
```
@thombergs thombergs added the bug label Jan 9, 2017
@thombergs
Copy link
Member Author

future.cancel(true) on Future object returned by ProcessExecutor.start().getFuture() doesn't work, since the Process ignores the cancel suggestion.

@vanarova
Copy link

vanarova commented Feb 5, 2018

I have same problem, Although, I was testing network connectivity issues, and pulled network wire while importing. This breaks import and when I am starting it again. It throws me same error. Now I need to ensure an uninterrupted network for my repo in svn which is 85gb, and will take >2days to migrated on slow net..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants