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

Already on GitHub? Sign in to your account

Ask user on git errors #6

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

vincentg commented Feb 2, 2011

Hello,

On importing a darcs repository, i had a non critical error on a git command:

Running: ["git", "tag", "-a", "-m", "TAG 0.2\n\ndarcs-hash:20080421160810-d61e2-c20fe32983a55557b721b0bfa30c56916ba71a87.gz", "0_2"]
fatal: tag '0_2' already exists

And the import stopped there. That is why i propose a mechanism to handle theses error and ask to the user if he want to continue the import anyway or not.

Feel free to pull or not :)

Best regards,

Vincent

Owner

purcell commented Feb 2, 2011

Hmmm... I want to make sure the script can always run through without any input from the user, so I'm most interested in figuring out why there are 2 darcs changes which introduce the same tag, because that seems to be the cause of the problem here. Is the darcs repository you are converting publicly available, so that I could take a look at it and investigate the issue?

vincentg commented Feb 2, 2011

The repository used to be publicy available on community.haskell.org/~tim (and hsmagick link) but the server seems to be down.

I uploaded a tgz of the repository here : --URL removed--

Owner

purcell commented Feb 3, 2011

Hi Vincent -- thanks very much for that. I see that there were several darcs changesets which applied the 0.3 tag, which then caused a problem in darcs-to-git. So I've changed darcs-to-git so that later tag changes override earlier ones; I think that's the behaviour which makes most sense, and I've tested it with the hsmagick repo you provided.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment