[csw-devel] SF.net SVN: opencsw:[544] gar-wrapper

skayser at users.sourceforge.net skayser at users.sourceforge.net
Fri Sep 23 19:33:15 CEST 2011


Revision: 544
          http://opencsw.svn.sourceforge.net/opencsw/?rev=544&view=rev
Author:   skayser
Date:     2011-09-23 17:33:15 +0000 (Fri, 23 Sep 2011)
Log Message:
-----------
mgar: move to 0.94-dev, add command status, drop command scm

Modified Paths:
--------------
    gar-wrapper/CHANGES
    gar-wrapper/bash_completion.mgar
    gar-wrapper/mgar

Modified: gar-wrapper/CHANGES
===================================================================
--- gar-wrapper/CHANGES	2011-09-23 14:43:48 UTC (rev 543)
+++ gar-wrapper/CHANGES	2011-09-23 17:33:15 UTC (rev 544)
@@ -1,3 +1,7 @@
+Changes since 0.93 (r543):
+* NEW command "status" to query VCS status (^= svn status)
+* DROP command "scm", typing "svn <sth>" is shorter than "mgar scm <sth>"
+
 Changes with 0.93 (r543):
 * NEW command "show-var" to show runtime value of recipe vars (Maciej Blizinski)
 * NEW command "grep-buildsys" to facilitate grepping the build system

Modified: gar-wrapper/bash_completion.mgar
===================================================================
--- gar-wrapper/bash_completion.mgar	2011-09-23 14:43:48 UTC (rev 543)
+++ gar-wrapper/bash_completion.mgar	2011-09-23 17:33:15 UTC (rev 544)
@@ -23,7 +23,7 @@
   misctgts="modenv ccenv"
   mgarcmds="help init index locate up commit show-srcdir show-stagedir"
   mgarcmds="${mgarcmds} find-file edit-file show-buildsys show-pkgtree version"
-  mgarcmds="${mgarcmds} list-categories newpkg show-var grep-buildsys"
+  mgarcmds="${mgarcmds} list-categories newpkg show-var grep-buildsys status"
   ustreamcmds="check-upstream get-uwatch-configuration"
 
   opts="${buildtgts} ${misctgts} ${mgarcmds} ${ustreamcmds}"

Modified: gar-wrapper/mgar
===================================================================
--- gar-wrapper/mgar	2011-09-23 14:43:48 UTC (rev 543)
+++ gar-wrapper/mgar	2011-09-23 17:33:15 UTC (rev 544)
@@ -54,7 +54,7 @@
 set -u
 set -e
 
-VERSION=0.93
+VERSION=0.94-dev
 EDITOR=${EDITOR:-vi}
 PATH=$PATH:/opt/csw/bin
 DEF_BUILDTREE=~/opencsw
@@ -554,8 +554,8 @@
   edit-file <name>    Edit a file within the extracted package source
 
 Other actions:
+  status              Show the VCS status of the current directory
   modenv              Display employed compiler options
-  scm <command>       Pass a command to the underlying SCM (currently: svn)
   show-buildsys       Display the location and version of the build system
   grep-buildsys <str> Search the build system for occurences of <str> (via ack)
   show-pkgtree        Show the location of the package build tree
@@ -603,7 +603,7 @@
            locate) shift; search_index "$BUILDTREE" "${1-}";;
            newpkg) shift; cd "$BUILDTREE" && newpkg ${1:-} ${2:-};;
      show-pkgtree) echo "$BUILDTREE";;
-              scm) shift; svn $@;;
+           status) svn status;;
                up) if [ "${2:-}" == "--all" ]; then
                      $0 up-all
                    elif [ "${2:-}" == "--self" ]; then

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list