Mercurial > mozilla > hg > ProfileManager
diff profilemanager/manager.py @ 7:d3b22d086934
comments for what to do next
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 06 Apr 2010 10:46:16 -0700 |
parents | 2a3f5cdfd60c |
children | 7205cb6f5530 |
line wrap: on
line diff
--- 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):