[darcs-users] feature suggestions: whatsnew for local/remote comparison

Zack Brown zbrown at tumblerings.org
Fri Aug 1 05:16:49 UTC 2003


On Thu, Jul 31, 2003 at 05:08:15PM -0700, John Meacham wrote:
> On Thu, Jul 31, 2003 at 08:22:01AM -0700, Zack Brown wrote:
> > Just as we can do a 'darcs whatsnew' to see what we haven't 'recorded' yet,
> > it would be cool to do something similar to see if a remote maintainer has
> > applied something we've 'pushed' to their repository yet.
> > 
> > The feature I'm thinking of would be like a 'diff', but instead of being
> > between different versions, it would be between one repo and another.
> > Additionally, modifications made locally would display differently from
> > modifications made remotely; and the user could give an option to
> > suppress displaying one or the other.
> 
> yes. I want something like this. what I was thinking was something like:
> 
> darcs compare <repo1> <repo2> (where repos can be local or remote and if
> only one is given, the other is assumed to be .)

Yes, and if none are given, they are assumed to be '.' and the default
remote repository.

Darcs should maybe also warn if it looks like it is about to try to
compare two repositories where one has not been pulled from the other,
i.e. if they are probably two completely different repositories. In that
case it should say something like "<repo1> is probably not related to
<repo2>. Continue (y/n)?"

> 
> what it will do is show:
> <repo1> has the following patches <repo2> doesn't:
> patch1         (just patch names)
> patch2 ...
> <repo2> has the following patches <repo1> doesn't:
> patchA
> patchB ...
> 
> repo1 has the following local changes:
> (darcs whatsnew output for repo1)
> repo2 has the following local changes:
> (darcs whatsnew output for repo2)

except you don't mean 'whatsnew', right? you mean the same *form* as
'whatsnew', but the content is the difference between the two repos.

Be well,
Zack

> 
>         John
> 
> 
> -- 
> ---------------------------------------------------------------------------
> John Meacham - California Institute of Technology, Alum. - john at foo.net
> ---------------------------------------------------------------------------
> 
> _______________________________________________
> darcs-users mailing list
> darcs-users at abridgegame.org
> http://www.abridgegame.org/mailman/listinfo/darcs-users

-- 
Zack Brown




More information about the darcs-users mailing list