summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2006-04-04 23:25:16 +0000
committerAlec Warner <antarus@gentoo.org>2006-04-04 23:25:16 +0000
commite8ea65295464690eaf7a1d92d6995caa4a3a13be (patch)
tree31dc99b9ee6df81857013b00d60efe3c9eab6fdc
parent36ca784c142e6954f76b299d4a97d6de327bcac4 (diff)
downloadportage-e8ea65295464690eaf7a1d92d6995caa4a3a13be.tar.gz
portage-e8ea65295464690eaf7a1d92d6995caa4a3a13be.tar.bz2
portage-e8ea65295464690eaf7a1d92d6995caa4a3a13be.zip
Don't generate digests on --pretend for repoman. Thanks go once again to exg@gentoo.org :)
svn path=/main/trunk/; revision=3073
-rwxr-xr-xbin/repoman4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/repoman b/bin/repoman
index 7068ccdd9..3c45c6381 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1601,7 +1601,6 @@ else:
mydone=[]
if repolevel==3: # In a package dir
repoman_settings["O"]=os.getcwd()
- portage.digestgen([],repoman_settings,manifestonly=1)
elif repolevel==2: # In a category dir
for x in myfiles:
xs=string.split(x,"/")
@@ -1611,7 +1610,6 @@ else:
continue
mydone.append(xs[0])
repoman_settings["O"]=os.path.join(os.getcwd(), xs[0])
- portage.digestgen([],repoman_settings,manifestonly=1)
elif repolevel==1: # repo-cvsroot
print green("RepoMan sez:"), "\"You're rather crazy... doing the entire repository.\"\n"
for x in myfiles:
@@ -1622,7 +1620,6 @@ else:
continue
mydone.append(string.join(xs[:2],"/"))
repoman_settings["O"]=os.path.join(os.getcwd(), x[0], x[1])
- portage.digestgen([],repoman_settings,manifestonly=1)
else:
print red("I'm confused... I don't know where I am!")
sys.exit(1)
@@ -1630,6 +1627,7 @@ else:
if "--pretend" in myoptions:
print "(/usr/bin/cvs -q commit -F "+commitmessagefile+")"
else:
+ portage.digestgen([],repoman_settings,manifestonly=1)
mymsg=open(commitmessagefile,"w")
mymsg.write(commitmessage)
mymsg.write(" (Unsigned Manifest commit)")