| Here's an example of using darcs rollback:
|
| $ darcs rollback
| Fri Jul 11 19:07:23 BST 2008  Duncan Coutts <[EMAIL PROTECTED]>
|   * Merge StateTrans into State and simplify
| Shall I rollback this patch? [yNvpq], or ? for help: y
| Finished rolling back.
|
| $ darcs changes --last=2
| Fri Jul 11 19:07:23 BST 2008  Duncan Coutts <[EMAIL PROTECTED]>
|   UNDO: Merge StateTrans into State and simplify

That's what I didn't know, thanks.

| That avoids the problem that Malcolm notes, which is that with removing
| the patch from the server side, someone might have already pulled it in
| the mean time and then when you later push the real patch, it would
| conflict with the original incorrect patch. If the window was very
| narrow then perhaps nobody will be affected, but it's best to avoid
| removing patches from a public repo in general. Adding an inverse/undo
| patch is the right thing to do in this kind of situation.

Indeed.  Fortunately this time the window was indeed a matter of minutes.

ta
S

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to