Lurker News

Comments (306) 34 threads

Show all comments

Showing thread 9 of 34

adrianN1 reply#
Why would I want to use this over git or mercurial?
desdiv1 reply#
You wouldn't, unless you have very specific niche needs. They're pretty upfront about it:

>Why use BitKeeper when there are lots of great alternatives?
>For many projects, the answer is: you shouldn’t.
https://www.bitkeeper.org/why.html

luckydude3 replies#
Probably the single biggest reason, aside from it's easier to use than git's CLI, is that it has sub-modules that work exactly like files do in a repository. No extra options, just clone/pull/push/commit/etc. Full on distributed workflow.

BitKeeper itself is a collection of repositories. Download an install image, install, and clone it:

    $ bk clone http://bkbits.net/u/bk/bugfix
    $ cd bugfix
    $ bk here
    PRODUCT
    default
    $ bk comps -m
    ./src/gui/tcltk/bwidget
    ./src/gui/tcltk/tcl
    ./src/gui/tcltk/tk
    ./src/gui/tcltk/tkcon
    ./src/gui/tcltk/tktable
    ./src/gui/tcltk/tktreectrl
    ./src/win32/dll/scc
    ./src/win32/dll/shellx
    ./src/win32/dll/shellx/src
    ./src/win32/msys
    ./src/win32/vss2bk
which shows that what we clone by default doesn't include all that other crud (we cache the build result from that and populate it as needed to do builds).

Play with it, it's very different from Git, the subrepo binding is just like file bindings. Everything works together and obeys the same timeline.

tommoor#
Feature set wise this has a number of great advantages over git! It's a shame all of the tools today are so git-centric in some ways
stonemetal4 replies#
It claims to be able to handle binary files well which would be a big deal to game development. They have mostly passed on git and mercurial since they can't handle game assets.
AstralStorm1 reply#
They actually can. There is just no good way to version many file formats. Git-pack would have to be extended with support for feels compression of so many formats it is not even funny. And leaving those files outside version control is as easy as always.

The about only difference is that git prefers the whole history and you cannot yet set per submodule shallow clone policy. It wouldn't even be too hard to add that.

Continue this thread — 1 reply

durin42#
Some game shops have had good luck with Mercurial's largefiles extension, for what it's worth.
vvanders1 reply#
It looks like it doesn't have locking, which is the other half of what you need and why most shops go with Perforce.
wtetzner#
I'm not sure how locking would work when you're distributed. It really only makes sense for a centralized VCS.
Mathiasdm1 reply#
Mercurial has had 'largefiles' since Mercurial 2.0, 5 years ago.

Continue this thread — 1 reply

stephenmm7 replies#
If this works well than this indeed is a HUGE reason to use BK!

Continue this thread — 7 replies