adding my entire home dir with a "bzr init ~/"
Rahul Nabar
rpnabar at gmail.com
Fri Mar 21 20:29:50 GMT 2008
On Wed, Mar 12, 2008 at 7:39 PM, Matt Nordhoff
<mnordhoff at mattnordhoff.com> wrote:
>
> I think it's a great idea. It's very useful to be able to version all of
> your random files.
> You could also set bzr to ignore everything except what you explicitly
> add to make "bzr st" faster.
>
> Something like:
>
> $ cd
> $ echo '*' >>.bzrignore
> $ bzr add .bzrignore
> $ bzr commit -m "Ignoring everything" .bzrignore
>
> That's a pain if you want to version all of the files in a directory
> though...
I've the bazar and .bzrignore setup just like you guys indicated.
Works well until.....
I faintly remember that one of the things Bazaar does better than cvs
/ svn is that it tracks the file / directory metainfo (or not!?).
Well, now I've a ~/.vim folder where from time to time I install new
plugins, syntax, scripts etc. Unfortunately once in a while one of
them doesn't behave well and then one needs a rollback. (note that
this is not trying to version changes to a specific script but rather
remembering what script was added when)
My intention was to do bazaar commits before adding each new plugin to
hopefully retain snapshots that'd allow me to figure out what files
needed to be rolled back. Whats the best way to do this?
I mean right now a "bzr inventory" does show: ~/.vim listed. But I
just copied a new plugin into that dir. and tried to do a 'bzr commit
~/.vim' but it complained:
****************************************
Committing to: /home/xxxxxusername/
bzr: ERROR: no changes to commit. use --unchanged to commit anyhow
******************************************
What am I doing wrong? Any tips?
-Rahul
More information about the bazaar
mailing list