summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-09-29 16:45:42 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-09-29 16:45:42 +0000
commit77d4a54b1a2765b4f88d1b822f605493e3adb2eb (patch)
tree3ae426a7fc25fd89089e28b307ddee3dcc777d0b /pym/portage.py
parent7d3c012aa8555957aa7f1f54a8be4e2403388ab7 (diff)
downloadportage-77d4a54b1a2765b4f88d1b822f605493e3adb2eb.tar.gz
portage-77d4a54b1a2765b4f88d1b822f605493e3adb2eb.tar.bz2
portage-77d4a54b1a2765b4f88d1b822f605493e3adb2eb.zip
Sort digests and manifests (to look nice and making them diff'able)
svn path=/main/branches/2.0/; revision=2063
Diffstat (limited to 'pym/portage.py')
-rw-r--r--pym/portage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 0c399295c..86bf070fe 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2082,6 +2082,7 @@ def digestgen(myarchives,mysettings,overwrite=1,manifestonly=0):
if os.path.exists(digestfn):
myolddigest = digestParseFile(digestfn)
+ myarchives.sort()
mydigests=digestCreate(myarchives, basedir, oldDigest=myolddigest)
if mydigests==None: # There was a problem, exit with an errorcode.
return 0
@@ -2108,6 +2109,7 @@ def digestgen(myarchives,mysettings,overwrite=1,manifestonly=0):
print green(">>> Generating manifest file...")
mypfiles=listdir(pbasedir,recursive=1,filesonly=1,ignorecvs=1,EmptyOnError=1)
mypfiles=cvstree.apply_cvsignore_filter(mypfiles)
+ mypfiles.sort()
for x in ["Manifest"]:
if x in mypfiles:
mypfiles.remove(x)