Revision storage question
Angela
seasonalplume at gmail.com
Tue Feb 6 13:49:22 GMT 2007
Alexander Belchenko <bialix <at> ukr.net> writes:
>
>
> Angela пишет:
> > My question/request for clarification is, does that mean that when you
> > run a
> > commit (say on a whole branch), Bazaar-NG only looks at modified files and
> > stores information about that? So unmodified files in each successive
> > commit
> > don't add up to the total size of the branch?
>
> Yes, exactly. Only changes recorded, so unchanged files don't add
> extra space in repository.
>
> Bazaar operate in terms of working tree. Usually you have some project,
> in which you have many sources/binaries files. This we call "working tree"
> or "checkout of branch". Branch also have internal metadata as revisions
> that forms actual history of your project.
>
> When you commit some state of project you need to commit several files at
once,
> otherwise you end up with different set of changes in history and on the disk.
> This is bad, because when you need to restore old state of project you need
> to do hard work.
>
Hello Alexander,
Thanks for your detailed reply, it was helpful. :) I understand (and also
prefer) the issue about committing parts of a project versus certain files in a
(programming) project -- that's what I'm doing as of the moment. But for this
"new" repositories I'm thinking of doing, they're not a project but files, like
documentation, user manuals, etc. that don't need to be very well knit with the
rest (although the issues you brought up were still quite sound).
Actually, I think Bazaar isn't exactly what I'm looking for in this other idea
"repository" I'm looking at, mostly because these are directories/folders with
lots of files (majority of them binary files) and to checkout the whole "parent"
directory in order to work on one file remotely might not be a very good idea.
I was actually looking at Subversion for this (mostly because of the partial
checkouts idea) but feel very reluctant to be running two VCSs at the same time,
plus SVN feels quite a bit more complicated than Bazaar to me -- more
"permanent", with all the talk about SVN servers and repositories and making
sure your repository has a filesystem that will stay good a few years down the
line.
Angela
More information about the bazaar
mailing list