Hi darcs gurus, hi Duncan,
I'm stuck! I've just tried to separate the Gtk2Hs repo on
code.haskell.org into it's constituent libraries. What we want is to
extract some of the libraries that Gtk2Hs provides into their own
repositories without loosing their history. The problem is that darcs
will only checkout a directory that does not yet exist. So I've tried:
sim...@nun:/srv/code/webkit$ darcs get --lazy /srv/code/gtk2hs
Finished getting.
sim...@nun:/srv/code/webkit$ mv gtk2hs/_darcs .
sim...@nun:/srv/code/webkit$ mv gtk2hs/webkit .
sim...@nun:/srv/code/webkit$ darcs mv webkit/* .
sim...@nun:/srv/code/webkit$ rmdir webkit/
sim...@nun:/srv/code/webkit$ rm -rf gtk2hs/
sim...@nun:/srv/code/webkit$ darcs record
This seems to work great: webkit only contains the files it should and
recording the patch gives me exactly the movements of the webkit files
one level up and the removal of all other files. However, when I check
out on my local computer I get:
~/source as49$ darcs get sim...@code.haskell.org:/srv/code/webkit
Copying patches, to get lazy repository hit ctrl-C...
darcs failed: Couldn't fetch `0000001146-
ffed5fe22fabf1987787fe71d2c6c2e3a06d53e176e52bad3112d8bba73f9440'
in subdir patches from sources:
thisrepo:/Users/as49/source/webkit
repo:sim...@code.haskell.org:/srv/code/webkit
repo:/srv/code/gtk2hs
thisrepo:/srv/code/webkit/gtk2hs
I *think* what this means is that darcs on code.haskell.org tries to
pull more patches from the original repo but fails to do so (even
though I used absolute path names).
Is there anything I can do to copy the gtk2hs repository to the
different directories that the sysadmins there have created for me?
Obviously, I could use cp -R but the repo is quite big so that I don't
want to duplicate it 9 times.
Any advice welcome,
Cheers,
Axel
_______________________________________________
darcs-users mailing list
darcs-users@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-users