commit 78640ba7ef6364087c4567395fff3fe6f95925fc
Author: Elan Ruusamäe <[email protected]>
Date:   Thu Feb 26 23:37:32 2015 +0200

    cleanup functions related to pld cvs -- no longer needed
    
    apply 50eb5db5a3fef469eab5da342a76e7aa8f024bf0 from rpm-build-macros repo

 shrc.sh | 30 ------------------------------
 1 file changed, 30 deletions(-)
---
diff --git a/shrc.sh b/shrc.sh
index 56c27b8..d4831ca 100755
--- a/shrc.sh
+++ b/shrc.sh
@@ -196,36 +196,6 @@ fi # no $dist set
 alias adif="dif -x '*.m4' -x ltmain.sh -x install-sh -x depcomp -x 
'Makefile.in' -x compile -x 'config.*' -x configure -x missing -x mkinstalldirs 
-x autom4te.cache"
 alias pclean="sed -i~ -e 
'/^\(?\|=\+$\|unchanged:\|diff\|only\|Only\|Tylko\|Files\|Common\|Index:\|RCS 
file\|retrieving\)/d'"
 
-# makes diff from PLD CVS urls
-# requires: cvs, tee
-urldiff() {
-       local url="$1"
-       if [ -z "$url" ]; then
-               echo >&2 "Reading STDIN"
-               read url
-       fi
-
-       echo >&2 "Process $url"
-       local file="$url"
-       file=${file#*SPECS/}
-       file=${file#*SOURCES/}
-       file=${file##*/}
-       local r1=${file#*r1=}
-       local r2=${r1#*r2=}
-       r2=${r2%%[&;]*}
-       r1=${r1%%[&;]*}
-       file=${file%\?*}
-       file=${file%.diff}
-
-       echo >&2 "$file: $r1 -> $r2"
-
-       if [ -t 1 ]; then
-               cvs diff -u -r$r1 -r$r2 $file | tee m.patch | diffcol
-       else
-               cvs diff -u -r$r1 -r$r2 $file
-       fi
-}
-
 # makes diff from kde svn path
 # requires: wget, tee
 kdediff() {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/0ee59b3ffd12cfe392d3b9797f8f241867262c66

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to