On Fri, 2004-07-30 at 03:04, Erwan Lacoste wrote:
> Hi all,
> I'm migrating a repository from CVS to SVN. I want to (re)write a PHP
> script which can list the files from a local copy that need to be updated
> ( a simple ' svn st -uv | grep '*' ') and print them on a web page. I
> would also need for each file the last revision in which the item has last
> changed on the local repository (the second revision column with svn st
> -v), and the last revision in which the item has last changed on the
> global repository. If i could get the number of commits per file between
> local repository and the global one, it would be great.
> I couldn't find a way to get such info with the svn client commands. I
> thought of a way, wich is adding a property to the file each time I run a
> commit (with the hooks). Every time I run 'svn ci', I could edit a
> "last-changed" property to the current revision, for each file wich is
> commited. I could also edit a "number-of-changes" property.
> I hope there is a more simple way, I'd be glad to find about it.
You're talking about a script that compares two repositories... is that
really what you mean? Or when you say "local repository" do you really
mean "local working copy"?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 30 16:37:48 2004