Mercurial > hg
changeset 5537:e01c748cb632
convert: add directories to subversion from root to leaves
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 17 Nov 2007 18:41:31 +0100 |
parents | fdee5d614fcc |
children | dc8fa3482a9a |
files | hgext/convert/subversion.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/subversion.py Sun Nov 11 19:34:00 2007 +0100 +++ b/hgext/convert/subversion.py Sat Nov 17 18:41:31 2007 +0100 @@ -817,7 +817,8 @@ add_dirs = [d for d in self.dirs_of(files) if not os.path.exists(self.wjoin(d, '.svn', 'entries'))] if add_dirs: - self.run('add', non_recursive=True, quiet=True, *add) + add_dirs.sort() + self.run('add', non_recursive=True, quiet=True, *add_dirs) if files: self.run('add', quiet=True, *files) return files.union(add_dirs)