[darcs-users] Darcs equivalent of force-pushing and branching
Alexis Praga
alexis.praga at gmail.com
Tue Sep 7 10:08:53 UTC 2021
Hi,
After looking at the darcsbooks, I found the unrecord and obliterate
commands to remove patches from the history.
Is there a way to remove them from the remote repository, like `git push -f` ?
I've tried to "push" after "obliterate" but darcs replied with:
No recorded local patches to push!
My second question is about branches. From what I've understood from the
website and the darcs books, a branch is just a set of patches.
So to identify them, you just need to insert a special identifier in the
message.
After years of working with git, I'm having troubles with this approach.
I'm used to branches as a well-defined context, so that switching
branches means switching a mental state as well.
In darcs, it looks like you just have to trust the software to separate
things out.
Is there a way to "cleanly" separate two different set of features,
let's say "production" and debug ? The only way I've found would be to
have 2 different repositories.
Thanks,
--
Alexis Praga
More information about the darcs-users
mailing list