I wrote:
> Greg Woods wrote:
                 [...] 
>       OK, so exactly how is this  [my .trunk patch] different from "-r1"?
> Seems like it's the
>       same thing to me, which means it's an awful waste of coding effort,
> not
>       to mention the extra typing necessary to use it...  ;-)
>       [smc]  
> 
>       ".trunk" has the possibility of handling the case where
>       sombody has done "cvs commit -r2 foo",   (though I haven't
>       tested that case.)
> 
                [smc]  I just tried it.

                echo x > x
                cvs add x
                cvs commit -m x x
                cvs tag one x
                echo 2 >> x
                cvs commit -r 2.1 -m x x
                cvs diff -r one -r1 x
                (no output, that is, the diffs between rev 1.1 and rev 1.1 )
                cvs diff -r one -r.trunk x
                (you get the diffs between rev 1.1 and rev 2.1)

                I'll be adding such a case to sanity.sh in my patch later.

                (Does this justify the effort?  who am I to say?)

                -- steve

Reply via email to