[darcs-users] How to pull all my patches from one repository into another?

Quag quaggy at gmail.com
Sat Jan 22 22:44:36 UTC 2005


On Sat, 22 Jan 2005 14:22:54 -0800, Alexey N. Solofnenko
<A.Solofnenko at mdl.com> wrote:
> I read somewhere that darcs can reorder patches. If it were possible to
> move all my patches to the end (so they would apply to the latest
> version from another branch), it would be possible to apply them to
> another unrelated repository that has the same files.

Hi Alexey,

Technically yes... but darcs doesn't expect you to do this sort of
thing so it doesn't have any tools to help out.

A cheap dirty hack would be to simply copy over the patches you
created in the first repository to the second repository using cp, and
then manually copy of the relevant parts of the inventory. In theory
it should work... but this is considered bad form. :)

I just tried copying over patches manually between an "old" and "new"
repository. I had to run darcs repair then darcs revert, but it seemed
to work...

Jonathan Wright.




More information about the darcs-users mailing list