[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

method of getting/displaying version hsitory...

From: bruce <bedouglas_at_earthlink.net>
Date: 2004-10-05 00:07:05 CEST

hi...

i can use the svn/svlook commands to get version information as:

[root@lserver2 svn]# svn list -R --verbose --username apache --password
apache http://192.168.1.52:82/svn/mytest/qq
     28 apache 58 Oct 04 13:32 qq_class_schedule.pl
     27 apache 99 Oct 04 13:17 qq_directory.pl

[root@lserver2 svn]# svnlook history /svnroot/test1
/mytest/qq/qq_directory.pl REVISION PATH
-------- ----
      27 /mytest/qq/qq_directory.pl
       9 /mytest/qq/qq_directory.pl

[root@lserver2 svn]# svnlook history /svnroot/test1
/mytest/qq/qq_class_schedule.pl
REVISION PATH
-------- ----
      28 /mytest/qq/qq_class_schedule.pl
       9 /mytest/qq/qq_class_schedule.pl

[root@lserver2 svn]# svn log -q --username apache --password apache
http://192.168.1.52:82/svn/mytest/qq
------------------------------------------------------------------------
r28 | apache | 2004-10-04 13:32:43 -0700 (Mon, 04 Oct 2004)
------------------------------------------------------------------------
r27 | apache | 2004-10-04 13:17:16 -0700 (Mon, 04 Oct 2004)
------------------------------------------------------------------------
r9 | admin | 2004-09-25 10:03:36 -0700 (Sat, 25 Sep 2004)
------------------------------------------------------------------------

[root@lserver2 svn]# svn log -q --username apache --password apache
http://192.168.1.52:82/svn/mytest/qq/qq_directory.pl
------------------------------------------------------------------------
r27 | apache | 2004-10-04 13:17:16 -0700 (Mon, 04 Oct 2004)
------------------------------------------------------------------------
r9 | admin | 2004-09-25 10:03:36 -0700 (Sat, 25 Sep 2004)
------------------------------------------------------------------------

however, i'd like to get a simple list of history as:
foo.txt
  r18
  r9
  43

has anyone written/created a perl/php app that returns a simple
history/version list for a given file using either svn/svnlook?

thanks

regards,

-bruce

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 5 00:07:32 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.