Hi Philip,

On Tue, Feb 23, 2010 at 12:19 PM, Philip Lowman <[email protected]> wrote:

(submitter)
> $ svn diff -u > changes.diff
> $ # email changes.diff
>
> (reviewer)
> $ # download changes.diff
> $ cd clean_trunk
> $ cat changes.diff |patch -p0
> $ meld .
>

And... how many steps are there for the reviewer?

Right now I just do:

download changes.
mergeall ~/OpensceneGraph

And then step through each file.  mergeall is a script I have for just
stepping through subdirectories running xxdiff on the files it finds.  I
don't have to maintain multiple checkouts just for the purpose of reviews.
I do what I do because it's the most efficient way for me to work.


> As for the occasional patch not applying without errors, I think most
> open-source projects deal with this just by asking the submitter to
> generate a new patch against the latest version of the source.   Odds
> are if their patch is against out of date code you're probably not
> going to want their original source file anyways since you might
> accidentally revert an unrelated change you have made to the file
> since.
>

This round trip takes time, and sometimes the reply never comes.   I
continuously try to reduce the amount of time dedicated to communication,
the amount of downtime between.  It's my experience that diffs don't help.
Whole files, even ones out of date can be far more useful than a broken and
useless patch file.

Given how pressed I am for time, I really do care about waste minutes here
or there.  Whole files wins hands down for me.

Now git might handle things better, but unless we can do a graphics diff
against the trunk then we are still stuck with having to apply to branch
locally and then doing a graphics diff and merge.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to