bzr for documents
David Timothy Strauss
david at fourkitchens.com
Sat Nov 29 19:34:40 GMT 2008
Bzr is "tree-oriented" in the sense that it performs, by default, at the
tree level.
Here are some examples:
* If you're three directories deep in your checkout and you run "commit"...
** ...Subversion will commit changes from the current directory and below.
** ...Bazaar will commit changes for your entire checkout.
* If you run "add"...
** Subversion will recurse *if* a directory below is not version-controlled.
** Bazaar will recurse into subdirectories regardless of whether the
immediate directories below are version-controlled.
While Subversion made the leap of supporting atomic commits, Bazaar reflects
this vision of atomicity more thouroughly by encouraging tree-level
operations. When you perform directory-level commits, you're often creating
a state that in the repostory that doesn't represent any tested, integrated
codebase. For example, you could rename a function from a file in one
directory and begin using the new name in another. Committing from either
directory in Subversion would result in an atomic, but broken, copy in the
repository, despite the fact that your working copy tested fine when you ran
"commit."
_____
From: bazaar-bounces at lists.canonical.com
To: bazaar at lists.canonical.com
Sent: Sat Nov 29 08:47:28 2008
Subject: Re: bzr for documents
Thanks Stephen for such a detailed answer.
On Sat, Nov 29, 2008 at 9:16 AM, Stephen J. Turnbull <stephen at xemacs.org>
wrote:
Give the file's name as an argument to the command. If you only want
to see logs of commits that touched wd/file.txt, "bzr log wd/file.txt"
will do that.
Is something similar possible for bzr-gtk?
First, bzr is not directory-oriented. It's tree-oriented; it will
recurse into subdirectories.
I dont understand.
As for emulating RCS, just put file names in all your commands like
you did with RCS. (Syntax may vary in a few cases where the file name
would for some reason mean something else to bzr, but mostly just
append the file name as above.)
Ok Thats (probably) what I want.
HTH
Yes Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20081129/cf0256c4/attachment.htm
More information about the bazaar
mailing list