How to separate tag from http://hub.darcs.net?

We know that it darcsdoes not have special support for internal branches, but http://hub.darcs.net allows you to unlock the repo and then track the plug associated with the mainline relay. (Related repositories appear in the branches section of the site.)

What is forking, copies the current state of the repo.

What should I do if I want to switch from the old tag (to continue development from this older state in the new branch)? (And still need the branch / fork to be tracked as a linked repo under the "branches".)

+4
source share
2 answers

You can fork the repository and then use

ssh hub.darcs.net obliterate <reponame>

to remove patches.

Unfortunately, it currently does not accept any arguments that make returning to the tag a little awkward, but it should still be possible.

+2
source

You can also do something like

  • darcs gets a local copy of the repo and darcs, erases -a -t TAG locally (or, darcs get -t TAG ...)

  • delete the hub repository and recreate it (via web or ssh hub.darcs.net init REPO)

  • darcs push -a.

+1
source

All Articles