You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by John Calcote <jc...@novell.com> on 2006/03/10 16:16:40 UTC

Did anything change?

We used to use CVS revisions to determine if anything had changed in a
given line since the last nightly build. Now with subversion and
multiple branches, it's difficult to do it the same way because
subversion revs the tree even if nothing changed in a given branch.
 
Can anyone give me a tip or two on how to use svn commands to determine
if something in a given branch changed?
 
--john

Re: Did anything change?

Posted by Damir Shayhutdinov <da...@tecon.ru>.
On Fri, Mar 10, 2006 at 11:16:40AM -0500, John Calcote wrote:
> We used to use CVS revisions to determine if anything had changed in a
> given line since the last nightly build. Now with subversion and
> multiple branches, it's difficult to do it the same way because
> subversion revs the tree even if nothing changed in a given branch.
>  
> Can anyone give me a tip or two on how to use svn commands to determine
> if something in a given branch changed?

svn log <branch url> -r<prev_number>:HEAD
Will show commit messages of changes made in branch from revision
<prev_number>.

You can also use date to point previous revision, see svn log --help.


-- 
WBR,
Damir Shayhutdinov

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Did anything change?

Posted by Scott Palmer <sc...@2connected.org>.
On 10-Mar-06, at 11:16 AM, John Calcote wrote:

> We used to use CVS revisions to determine if anything had changed  
> in a given line since the last nightly build. Now with subversion  
> and multiple branches, it's difficult to do it the same way because  
> subversion revs the tree even if nothing changed in a given branch.
>
> Can anyone give me a tip or two on how to use svn commands to  
> determine if something in a given branch changed?

svn info path_to_file

See the line of output that starts with "Last Changed Rev:"

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Did anything change?

Posted by Jeremy Whitlock <jc...@gmail.com>.
John,
    You can use svn log to do this.  This is the same approach that most
continuous build products find out when changes are made so they can kick
off a build.

Take care,

Jeremy

P.S. - svn help log should help.
>
>
>
> On 3/10/06, John Calcote <jc...@novell.com> wrote:
>
> >  We used to use CVS revisions to determine if anything had changed in a
> given line since the last nightly build. Now with subversion and multiple
> branches, it's difficult to do it the same way because subversion revs the
> tree even if nothing changed in a given branch.
>
> Can anyone give me a tip or two on how to use svn commands to determine if
> something in a given branch changed?
>
> --john
>
>