Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /svnutils/trunk/, /svnutils/trunk/src/

svnutils
Discussion topic

Back to topic list

CVS update: /svnutils/trunk/, /svnutils/trunk/src/

Author sunny256
Full name Øyvind A. Holm
Date 2004-09-16 20:14:26 PDT
Message User: sunny256
Date: 04/09/16 20:14:26

Modified:
 /svnutils/trunk/
  CONTENTS
 /svnutils/trunk/src/
  svnrevs

Log:
 r59 | sunny256 | 2004-09-17 03:12:36 +0000
 
 * /trunk/src/svnrevs
   Added some examples in the header.
 
 * /trunk/CONTENTS
   Minor rewrite in the svnrevs entry.

File Changes:

Directory: /svnutils/trunk/
===========================

File [changed]: CONTENTS
Url: http://svnutils.tigr​is.org/source/browse​/svnutils/trunk/CONT​ENTS?r1=1.4&r2=1​.5
Delta lines: +3 -3
-------------------
--- CONTENTS 16 Sep 2004 21:30:12 -0000 1.4
+++ CONTENTS 17 Sep 2004 03:14:25 -0000 1.5
@@ -26,8 +26,8 @@
     Apache's "mime.types" file.
   - svnrevs
     One-liner when called instead of the svn executable will display all
- revisions as a comma-separated list. Can be used for log messages
- etc.
+ revisions as a comma-separated list. Can be used for log messages,
+ scripts etc. Needs Perl.
   - windows/
     - SvnHotCopy.wsf
       Made to run as scheduled task from a directory you are free to
@@ -48,5 +48,5 @@
       backup program, but let’s first see if there are any other wheels
       around that’s already invented.
 
-$Id: CONTENTS 58 2004-09-16 21:28:16Z sunny256 $
+$Id: CONTENTS 59 2004-09-17 03:12:36Z sunny256 $
 vim: set tw=72 ts=2 sw=2 sts=2 et fo+=w fenc=UTF-8 :

Directory: /svnutils/trunk/src/
===============================

File [changed]: svnrevs
Url: http://svnutils.tigr​is.org/source/browse​/svnutils/trunk/src/​svnrevs?r1=1.1&r​2=1.2
Delta lines: +9 -2
-------------------
--- svnrevs 16 Sep 2004 21:30:12 -0000 1.1
+++ svnrevs 17 Sep 2004 03:14:26 -0000 1.2
@@ -1,10 +1,17 @@
 #!/bin/sh
 
 #===================​====================​====================​============
-# $Id: svnrevs 58 2004-09-16 21:28:16Z sunny256 $
+# $Id: svnrevs 59 2004-09-17 03:12:36Z sunny256 $
 # When calling this one-liner instead of svn, a comma-separated list of
 # the revision numbers is generated. For use in log messages etc.
-# Example: svnrevs -r512:HEAD http://blah.com/path​/to/repository
+#
+# Examples:
+# svnrevs -r1:HEAD
+# svnrevs -r512:798 blurfl.c
+# svnrevs http://svn.example.c​om/trunk/doc
+# for f in `svnrevs a.txt|tr -d ,`; do svn cat -$f a.txt >a.txt.$f; done
 #===================​====================​====================​============
 
 svn log --xml $* | perl -e '$a = join("", <>); $b = $c = ""; $a =~ s/<logentry\b.*?​\brevision="(\d+)"​.*?>/($b .= "${c}r$1", $c = ", ")/egs; print "$b\n";'
+
+# vim: set ts=2 sw=2 sts=2 et :




--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe@svnu​tils.tigris.org
For additional commands, e-mail: cvs-help at svnutils dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /svnutils/trunk/, /svnutils/trunk/src/ sunny256 Øyvind A. Holm 2004-09-16 20:14:26 PDT
Messages per page: