'bzr: ERROR: Not a branch' on existing local branch. Can I repair it?

John Arbash Meinel john at arbash-meinel.com
Wed Mar 28 21:26:43 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stevens, Ian wrote:
> I leave my local bzr repository alone for a week and it craps out on me.
> I am managing a local repository with Bazaar 0.14.0 on a Windows
> machine.  Running a bzr command (eg. diff, ci, log) on a branch, my
> trunk actually, in that repository returns an error of "bzr: ERROR: Not
> a branch".  There are files in .bzr and that repo has weeks of history.
> I have a few other repos branched from that one which are still fine,
> and one other which gives the same error.  The trunk is the most
> recently updated branch.  The most recently updated branch from my trunk
> is fine, but an older one gives the error.
> 
>  
> 
> I'm not sure what the problem is here, but I'd really like my trunk back
> with its history.  Is there any way to repair a branch?
> 
>  
> 
> Thanks,
> 
> Ian.

We would need to figure out why it is complaining.

Can you give the output from "My Documents\.bzr.log" after running a
command?

(We only need the last portion which should be the log for the last
command run)

Have you used a newer bzr at all (0.15?).

Also, can you tell us what files exist in .bzr\branch ?

Thanks,

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGCs+CJdeBCYSNAAMRAqzQAJ4pJoOo5nrHRLO3CjroZtoGNNnoHACfQetB
/trrQxJR4tNFByrCl56IvBE=
=D1qs
-----END PGP SIGNATURE-----



More information about the bazaar mailing list