]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/rcsbump
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Demo / pdist / rcsbump
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/rcsbump b/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/rcsbump
deleted file mode 100644 (file)
index 775de71..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env python\r
-# -*- python -*-\r
-#\r
-# guido's version, from rcsbump,v 1.2 1995/06/22 21:27:27 bwarsaw Exp\r
-#\r
-# Python script for bumping up an RCS major revision number.\r
-\r
-import sys\r
-import re\r
-import rcslib\r
-import string\r
-\r
-WITHLOCK = 1\r
-majorrev_re = re.compile('^[0-9]+')\r
-\r
-dir = rcslib.RCS()\r
-\r
-if sys.argv[1:]:\r
-    files = sys.argv[1:]\r
-else:\r
-    files = dir.listfiles()\r
-\r
-for file in files:\r
-    # get the major revnumber of the file\r
-    headbranch = dir.info(file)['head']\r
-    majorrev_re.match(headbranch)\r
-    majorrev = string.atoi(majorrev_re.group(0)) + 1\r
-\r
-    if not dir.islocked(file):\r
-        dir.checkout(file, WITHLOCK)\r
-\r
-    msg = "Bumping major revision number (to %d)" % majorrev\r
-    dir.checkin((file, "%s.0" % majorrev), msg, "-f")\r