Mercurial > public > mercurial-scm > hg
diff hgext/largefiles/reposetup.py @ 15316:c65f5b6e26d4 stable
largefiles: rename functions and methods to match desired behavior
The original intent was that the largefiles would primarily be in the
repository, with the global cache being only that--a cache. The naming
conventions and actual intent have both strayed. In this first patch, the
naming conventions are switched to match the actual intent, as are the
configuration options.
author | Benjamin Pollack <benjamin@bitquabit.com> |
---|---|
date | Thu, 20 Oct 2011 13:24:09 -0400 |
parents | 8d862e7b96d4 |
children | 9da7e96cd5c2 |
line wrap: on
line diff
--- a/hgext/largefiles/reposetup.py Thu Oct 20 13:24:08 2011 -0400 +++ b/hgext/largefiles/reposetup.py Thu Oct 20 13:24:09 2011 -0400 @@ -228,7 +228,7 @@ for filename in ctx.files(): if lfutil.isstandin(filename) and filename in ctx.manifest(): realfile = lfutil.splitstandin(filename) - lfutil.copytocache(self, ctx.node(), realfile) + lfutil.copytostore(self, ctx.node(), realfile) return node