[PLUG] Subversion question

alan alan at clueserver.org
Wed Jul 19 22:20:07 UTC 2006


On Wed, 19 Jul 2006, Rich Shepard wrote:

> On Wed, 19 Jul 2006, alan wrote:
>
>> What I want is to see what happened in each step along the way.  So if
>> there was a change to the file from revision 3 to revision 4, I want to
>> see the diff of that, then if there is a change from 4 to 5, I want to see
>> that change, etc.
>
>> Suggestions?
>
> Alan,
>
>  According to the Subversion manual, "svn diff" shows you the specific
> details of how a file changed over time.
>
>  svn diff can:
>
>  1) Examine local changes.
>  2) Compare your working copy to the repository.
>  3) Compare repository to repository.
>
>  You want number 3, I believe:
>
>  svn diff --revision x:y filename.c
>  svn diff --revision y:z filename.c
> etc.

I want a history of changes, not just the diffs.  I may have to script 
this.  "svn log" tells me the revision number of the changes, however.

-- 
"I want to live just long enough to see them cut off Darl's head and
  stick it on a pike as a reminder to the next ten generations that some
  things come at too high a price. I would look up into his beady eyes and
  wave, like this... (*wave*!). Can your associates arrange that for me,
  Mr. McBride?"
                       - Vir "Flounder" Kotto, Sr. VP, IBM Empire.




More information about the PLUG mailing list