I've cloned the repo listed at https://hackage.haskell.org/package/language-c-0.4.7 as the upstream repo, namely: http://code.haskell.org/language-c.
I've done some hacks and fixes in it, and recorded them as patches.
But then I discovered that if I want to publish them on
http://hub.darcs.net, I need a darcs-2 repo, and the initial one
which I used for cloning was unexpectedly a darcs-1 repo. (Can be checked with darcs show repo
, which doesn't print darcs-2
in the case of a darcs-1
repo.) Moreover,
I've discovered also a language-c
repo at
which looks like an upstream repo:
http://hub.darcs.net/visq/language-c, with a few more fresh changes
there. It is a darcs-2 repo, too, of course.
I could do the conversion to darcs-2, but I read that it is not reproducible and one can't exchange patches between the results of different runs of the conversion.
What is the simplest way to export my several last patches in the darcs-1 repo and apply them in the darcs-2 repo (a clone of http://hub.darcs.net/visq/language-c)?
(As for the question which of http://code.haskell.org/language-c and http://hub.darcs.net/visq/language-c should be considered to be upstream, see https://mail.haskell.org/pipermail/haskell-cafe/2015-December/122545.html, which I hope to get a definitive answer for soon.)