# HG changeset patch # User Jeff Hammel # Date 1270575976 25200 # Node ID d3b22d086934b91beb083f7d6d3c56b367f994af # Parent 2a3f5cdfd60c4f2b078caa7808db0e7952248e8a comments for what to do next diff -r 2a3f5cdfd60c -r d3b22d086934 profilemanager/manager.py --- a/profilemanager/manager.py Tue Apr 06 09:19:05 2010 -0700 +++ b/profilemanager/manager.py Tue Apr 06 10:46:16 2010 -0700 @@ -47,8 +47,14 @@ clones the profile `source` and output to `dest` """ source_path = self.path(source) # fs path of the `from` profile + dest_path = self.path(dest) # fs path to back up to - shutil.copytree(src_path, backup, symlinks=False) + # TODO: prepend a hash key + + shutil.copytree(source_path, dest_path, symlinks=False) + + # update profiles.ini + # TODO def backup(self, profile, dest=None):