Author: mvidner Date: Wed Apr 16 18:21:00 2008 New Revision: 46765 URL: http://svn.opensuse.org/viewcvs/yast?rev=46765&view=rev Log: tagversion --remove: remove tag after adding it by mistake Modified: trunk/devtools/devtools/bin/tagversion trunk/devtools/package/yast2-devtools.changes Modified: trunk/devtools/devtools/bin/tagversion URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/devtools/bin/tagversion?rev=46765&r1=46764&r2=46765&view=diff ============================================================================== --- trunk/devtools/devtools/bin/tagversion (original) +++ trunk/devtools/devtools/bin/tagversion Wed Apr 16 18:21:00 2008 @@ -6,9 +6,10 @@ echo " -h, --help: this help" echo " -n, --echo: don't tag, just echo tag name" echo " -u, --echourl: don't tag, just echo tag url (Subversion only)" + echo " -r, --remove: remove the tag (after adding it by mistake, SVN only)" } -OPTIONS=`getopt --name $0 --options hnu --longoptions help,echo,echourl -- "$@"` || { usage; exit 1; } +OPTIONS=`getopt --name $0 --options hnru --longoptions help,echo,echourl,remove -- "$@"` || { usage; exit 1; } eval set -- "$OPTIONS" while true; do case "$1" in @@ -23,6 +24,9 @@ -n|--echo) ECHO=1 ;; + -r|--remove) + REMOVE=1 + ;; -u|--echourl) ECHOURL=1 ;; @@ -49,6 +53,8 @@ echo "$t" elif [ "$ECHOURL" ]; then echo "echo tag url not supported in CVS" + elif [ "$REMOVE" ]; then + echo "echo tag removing not supported in CVS" else echo "$p $t" cvs tag $t @@ -77,6 +83,8 @@ echo "$t" elif [ "$ECHOURL" ]; then echo "$URL_t/$MODULE" + elif [ "$REMOVE" ]; then + svn rm --message "Removed tag $t for $MODULE" "$URL_t/$MODULE" else echo "$p $t" svn mkdir --message "Created tag $t" $REPOSITORY/tags/$t Modified: trunk/devtools/package/yast2-devtools.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/package/yast2-devtools.changes?rev=46765&r1=46764&r2=46765&view=diff ============================================================================== --- trunk/devtools/package/yast2-devtools.changes (original) +++ trunk/devtools/package/yast2-devtools.changes Wed Apr 16 18:21:00 2008 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Wed Apr 16 18:20:55 CEST 2008 - mvidner@suse.cz + +- tagversion --remove: remove tag after adding it by mistake + +------------------------------------------------------------------- Mon Mar 31 16:55:56 CEST 2008 - locilka@suse.cz - Some more words added to the current YaST dictionary. -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org