diff options
author | Alec Warner <antarus@gentoo.org> | 2006-04-06 05:37:24 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2006-04-06 05:37:24 +0000 |
commit | a7845c85f73123789bc86758f0cce57a32adbcd4 (patch) | |
tree | edaa75afbf3fe5855d96c0c712f46a904d3a758e | |
parent | 640a1e5d86289d34641454120f87f6c477e34fea (diff) | |
download | portage-a7845c85f73123789bc86758f0cce57a32adbcd4.tar.gz portage-a7845c85f73123789bc86758f0cce57a32adbcd4.tar.bz2 portage-a7845c85f73123789bc86758f0cce57a32adbcd4.zip |
Remove really really old check during a cvs move. Fix except statement to be saner
svn path=/main/trunk/; revision=3079
-rwxr-xr-x | bin/repoman | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/bin/repoman b/bin/repoman index 7068ccdd9..123b5672d 100755 --- a/bin/repoman +++ b/bin/repoman @@ -404,37 +404,8 @@ if os.path.isdir("CVS"): myreporoot = myreporoot[len(myreporootpath):] while myreporoot and myreporoot[0] == '/': myreporoot = myreporoot[1:] - except SystemExit, e: - raise # Need to propogate this - except: + except (OSError, IOError): err("Error grabbing repository information; exiting.") - myreporootpath=os.path.normpath(myreporootpath) - if myreporootpath=="/space/cvsroot": - print - print - print red("You're using the wrong cvsroot. For Manifests to be correct, you must") - print red("use the same base cvsroot path that the servers use. Please try the") - print red("following script to remedy this:") - print - print "cd my_cvs_tree" - print - print "rm -Rf [a-z]*" - print "cvs up" - print - if portage.userland=="BSD" or portage.userland=="Darwin": - print "find ./ -type f -regex '.*/CVS/Root$' -print0 | xargs -0 sed \\" - else: - print "find ./ -type f -regex '.*/CVS/Root$' -print0 | xargs -0r sed \\" - fi - print " -i 's:/space/cvsroot$:/home/cvsroot:'" - print - print red("You must clear and re-update your tree as all header tags will cause") - print red("problems in manifests for all rsync and /home/cvsroot users.") - print - print "You should do this to any other gentoo trees your have as well," - print "excluding the deletions. 'gentoo-src' should be /home/cvsroot." - print - sys.exit(123) if not "--pretend" in myoptions and not isCvs: print |