[darcs-users] Unrevert behavior inconsistent with revert
Gwern Branwen
gwern0 at gmail.com
Fri Jan 30 23:30:17 UTC 2009
On Fri, Jan 30, 2009 at 6:25 PM, Trent W. Buck <trentbuck at gmail.com> wrote:
> Gwern Branwen <gwern0 at gmail.com> writes:
>
>> 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:
>>
>> gwern at craft:39361~>revert .xmonad.hs
>> Reverting changes in ".xmonad.hs"..
>>
>> There are no changes to revert!
>> Finished reverting.
>> gwern at 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).
>
> That seems a reasonable suggestion. Please report it as a bug to
> bugs at darcs.net so it isn't forgotten.
Done:
http://bugs.darcs.net/issue1338
--
gwern
More information about the darcs-users
mailing list