Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] BZR Change 25 to stage-root sorcery by David Brown <dmlb2000@dmlb2004>

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: bzr AT mail.sourcemage.org
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] BZR Change 25 to stage-root sorcery by David Brown <dmlb2000@dmlb2004>
  • Date: Mon, 17 Apr 2006 14:55:03 -0500

------------------------------------------------------------
revno: 25
committer: David Brown <dmlb2000@dmlb2004>
branch nick: stage-root
timestamp: Mon 2006-04-17 12:51:48 -0700
message:
added comment explaining why important things won't get removed by the
calls to
rm_source_dir in confmeld main function

=== modified file 'usr/sbin/confmeld'
--- usr/sbin/confmeld
+++ usr/sbin/confmeld
@@ -107,6 +107,12 @@
# so if the spell or the date changes then we remove the directory so
# CONFIG_STAGE_DIRECTORY should always be empty after you complete the
# call to confmeld
+ #
+ # find does a preorder traversal of the directory tree keeping the path
+ # (esentially a stack) of where its been in the tree. If a particular
date
+ # or spell name changes at the same level in the tree we can safely
assume
+ # the previous date or spell has been walked and all files have been
delt
+ # with accordingly so we can safely remove them.
#
if [[ $last_sdate && $last_sdate != $sdate ]]
then




  • [SM-Commit] BZR Change 25 to stage-root sorcery by David Brown <dmlb2000@dmlb2004>, bzr, 04/17/2006

Archive powered by MHonArc 2.6.24.

Top of Page