[bfiles] Bug in bfremove/bfput

Greg Ward greg-hg at gerg.ca
Tue Jun 29 08:49:34 CDT 2010

On Fri, Jun 25, 2010 at 4:06 PM, Tom Conerly <tom at fogcreek.com> wrote:
> I believe I found a bug in bfiles. After a bfile is removed any previous
> version of the bfile will not uploaded to the central store using bfput.

Yep, definitely a bug.  bfstatus and bfput are both doing the wrong
thing, most likely for the wrong reason.

I don't have time to look into this right now, so I've opened a bug:

> The file is still in
> .hg/bfiles/committed. A possible fix is for bfput to upload everything in
> .hg/bfiles/committed. The removed file will also not show up in bfstatus as
> pending upload. It isn't clear to me whether or not bfstatus should list the
> file, but the current documentation says that it should be listed.

OK, from that it sounds like bfstatus and bfput are doing a bad job of
extracting the status represented by the filesystem.  The docs are
IMHO correct in this case: bfstatus should report "BPC": big file,
pending upload, clean (no commit required).

Thanks for the bug report!


More information about the Mercurial-devel mailing list