Should bfiles auto-status affect all uses of localrepo.status?

Greg Ward greg-hg at gerg.ca
Thu Feb 18 09:37:27 CST 2010


On Thu, Feb 18, 2010 at 10:29 AM, Augie Fackler <lists at durin42.com> wrote:
> For extra credit, wrap the commands you know don't work and raise
> util.Abort(_('%s not compatible with bfiles') % command) if bfiles is
> in use on the repo.

Nice idea, but it's more subtle than that.  E.g. MQ and record should
work just fine on ordinary files in a bfiles-enabled repo, with or
without auto-status mode. I only anticipate problems if you try to use
them on big files. (In fact, I use MQ regularly at work on our large
bfiles-enabled source tree, and it works great.  But bfiles does not
have auto-status mode yet, and I only touch regular files.)

Doing this correctly means interfering more deeply with the guts of
the affected commands.  Scary.

Greg


More information about the Mercurial-devel mailing list