You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Graham Leggett <mi...@sharp.fm> on 2005/10/07 13:36:44 UTC

Detecting whether a particular subversion URL's content has changed

Hi all,

I have a rather strange request, and the docs so far haven't uncovered 
anything I can use.

I have a number of projects within an svn repo, the documentation for 
which is built with maven plugins. Every night, the docs get rebuilt, so 
that up to date manuals are always available for trunk and all branches 
of our projects via http. The trouble is that all documentation is 
regenerated every night, which with a rapidly expanding list of 
branches, is a lot of unnecessary processing.

What I would like to do, is given an URL into a repository, I would like 
to get a list of all files that have changed recursively below that URL 
since the date/time specified. If the list is empty, there has been no 
change, and a script can decide not to regenerate documentation 
unnecessarily.

Is this possible somehow?

Regards,
Graham
--

Re: Detecting whether a particular subversion URL's content has changed

Posted by Graham Leggett <mi...@sharp.fm>.
Ryan Schmidt said:

> How about this:
>
> $ svn log -r'{2005-10-07 00:00:00}':HEAD -v
>
> (to answer the question "has anything changed since midnight?")

This worked like a charm, thank you!

Regards,
Graham
--


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

Re: Detecting whether a particular subversion URL's content has changed

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 7, 2005, at 15:36, Graham Leggett wrote:

> I have a number of projects within an svn repo, the documentation  
> for which is built with maven plugins. Every night, the docs get  
> rebuilt, so that up to date manuals are always available for trunk  
> and all branches of our projects via http. The trouble is that all  
> documentation is regenerated every night, which with a rapidly  
> expanding list of branches, is a lot of unnecessary processing.
>
> What I would like to do, is given an URL into a repository, I would  
> like to get a list of all files that have changed recursively below  
> that URL since the date/time specified. If the list is empty, there  
> has been no change, and a script can decide not to regenerate  
> documentation unnecessarily.

How about this:

$ svn log -r'{2005-10-07 00:00:00}':HEAD -v

(to answer the question "has anything changed since midnight?")


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