I somehow messed up my project's repo, please help

Andrew Bennetts andrew at bemusement.org
Wed Oct 17 01:04:44 UTC 2012


Rob Clewley wrote:
> Hi Andrew,
> 
> > Presumably this is because you have a long list of files on disk
> > matching the html/*.html pattern that are not versioned in bzr (i.e.
> > you've "bzr add"ed them).  Perhaps you expected commit to automatically
> > 'bzr add' those files for you?
> >
> > What does 'bzr status html/*.html' report?
> 
> No, they've been part of the repo for a long time. The status command
> yields a complete list of the html files starting at the top with
> 
> modified:
>   html/PyDSTool-module.html*
>   html/PyDSTool-pysrc.html*
>   html/PyDSTool.Events-module.html*
> 
> < continues for all but 7 new "unkown" html files that have not yet
> been added to the repo >

Interesting.  Even having one unknown file matching that glob will
prevent 'bzr commit html/*.html' from succeeding, though, because it's
asking bzr explicitly to commit something it's not versioning.

Does 'bzr commit -m "your message" html/' work?  (And if so, does it do
what you expect?)

-Andrew.




More information about the bazaar mailing list