I somehow messed up my project's repo, please help
Francis Devereux
francis at devrx.org
Mon Oct 15 14:44:12 UTC 2012
On 15 Oct 2012, at 15:20, Rob Clewley <rob.clewley at gmail.com> wrote:
> On Sun, Oct 14, 2012 at 8:40 AM, Vincent Ladeuil <vila+bzr at canonical.com> wrote:
>> If you still have it though, make a copy of it in a new folder and there
>> do 'bzr checkout .', that should set you up at the last state you
>> committed.
>
> OK, I'm stuck here already. I don't think I can checkout to a folder
> that has a .bzr in it. At least, I just get the error message that the
> .bzr file already exists.
I think maybe Vincent meant to say "copy .bzr to a new folder and in the new folder do 'bzr revert .'". I've just tried this on one of my .bzr directories and the 'bzr revert .' recreates the files with the contents they had the last time I committed (when the directory was empty bzr thought I had deleted all the files so to revert that it recreated them).
Francis
More information about the bazaar
mailing list