From 77d4a54b1a2765b4f88d1b822f605493e3adb2eb Mon Sep 17 00:00:00 2001 From: Jason Stubbs Date: Thu, 29 Sep 2005 16:45:42 +0000 Subject: Sort digests and manifests (to look nice and making them diff'able) svn path=/main/branches/2.0/; revision=2063 --- pym/portage.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pym') 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) -- cgit v1.2.3-1-g7c22