Mercurial > public > mercurial-scm > hg-stable
diff hgext/largefiles/lfcommands.py @ 15303:07811b3b119b stable
largefiles: include 'largefiles' in converted repository requirements
author | Eli Carter <eli.carter@tektronix.com> |
---|---|
date | Tue, 18 Oct 2011 16:40:59 -0500 |
parents | 7ab05d752405 |
children | 3eb1a90ea409 |
line wrap: on
line diff
--- a/hgext/largefiles/lfcommands.py Tue Oct 18 17:09:03 2011 -0400 +++ b/hgext/largefiles/lfcommands.py Tue Oct 18 16:40:59 2011 -0500 @@ -109,6 +109,11 @@ except OSError: pass + # If there were any files converted to largefiles, add largefiles + # to the destination repository's requirements. + if lfiles: + rdst.requirements.add('largefiles') + rdst._writerequirements() else: for ctx in ctxs: ui.progress(_('converting revisions'), ctx.rev(),