So the other day I happened to need to back out some changes in my
xmonad.hs (I've been trying out sjanssen's monoid branch of
xmonad-core), and so I reverted it. Once I was done testing, I
unreverted. Or, at least I tried to.

I had made the mistake of doing 'revert xmonad.hs' and naively tried
to do 'unrevert xmonad.hs'. This didn't work:

 gw...@craft:39361~>revert .xmonad.hs
 Reverting changes in ".xmonad.hs"..

 There are no changes to revert!
 Finished reverting.
 gw...@craft:39360~>unrevert .xmonad.hs

 darcs failed:  Bad argument: `.xmonad.hs'
 Usage: darcs unrevert [OPTION]...
 Undo the last revert (may fail if changes after the revert).

 See darcs help unrevert for details.

(I eventually tried unrevert with no arguments, and had to manually
select the changes to xmonad.hs.) Now, personally, I think unrevert
should take a file argument since it makes just as much sense as for
revert. Thoughts? Is this a bug or an enhancement? Or a feature?

-- 
gwern
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to