You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by bruce <be...@earthlink.net> on 2004/10/04 22:07:05 UTC

method of getting/displaying version hsitory...


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