[darcs-users] Strange 'whatsnew' output

David Roundy droundy at jdj5.mit.edu
Fri Oct 10 11:32:01 UTC 2003


On Thu, Oct 09, 2003 at 07:27:49PM +0200, Peter Simons wrote:
> I'm seeing strange behavior with the most current version. 'whatsnew'
> says, something has changed:
> 
> | peti etc # darcs whatsnew --verbose 
> | syncing dir...
> | done syncing dir...
> | diffing dir...
> | {
> | }

Hmmmm.  Actually, it is saying that something has changed, but that
something is actually nothing!  That's what the {} is, an empty list of
changes.  So the question is why it is giving an empty patch rather than no
changes.
 
> But whatever it is, I cannot record it:
> 
>  | peti etc # darcs record --verbose 
>  | About to slurp once.
>  | About to slurp again.
>  | About to get the unrecorded changes.
>  | syncing dir...
>  | done syncing dir...
>  | diffing dir...
>  | I've gotten unrecorded.
>  | I've selected the changes.
>  | Ok, if you don't want to record anything, that's fine!
> 
> I _suspect_, that it's an empty file causing the problems here, but
> I'm not certain ... Any other ideas?

My best guess is that you might see this if you have a
_darcs/patches/pending that contains "{}".  I've fixed it so whatsnew will
recognize an empty patch as being empty, but I'm curious as to the contents
of your _darcs/patches/pending, if you've still got the repo that's showing
this behavior.
-- 
David Roundy
http://www.abridgegame.org




More information about the darcs-users mailing list