bzr equivalent to hg addremove?
Alexis
alexis at alexisgallagher.com
Wed Jan 16 11:26:56 GMT 2008
Hello,
Does bzr have a single command which will automatically
add new files to version control and delete removed
files from version control -- that is, an equivalent to
mercurial's "addremove" command or git's "commit - a"?
This is a crucial feature for OS X users, I believe. Here's
why.
On OS X, some apps like Keynote unfortunately save
documents as "bundles", objects which look like files
in the Finder but are in fact directories under the
hood. Any modification of a document will often add,
delete, and modify dozens of files deep within this
hidden directory that only the application is supposed
to touch.
Of course subversion plays havoc with this arrangement.
It spews .svn files everywhere in the bundle, often
corrupting it. And to track a bundle, it requires you
to go into the bundle on the command line and manually
add and remove all these files to version control. The
typical workaround is to zip everything before version
controlling it, but that's quite a nuisance. For me,
the main benefit from leaving subversion would be the
mere ability to version control these common document
formats -- Keynote presentations, iWork document,
OmniGraffle documents, OmniOutliner documents,
OS X applications themselves, etc..
I could not find an addremove command in the Bazaar
User Reference, but I'm hoping it might be a little-
known command line switch.
Thanks, Alexis
More information about the bazaar
mailing list