I somehow messed up my project's repo, please help
André
dedeco at ufmg.br
Mon Oct 15 16:31:03 UTC 2012
>> 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).
>
>
> That worked now. So, my diff indicates what might have happened,
> although I no longer remember making this attribute change! All the
> files show up with:
>
> (properties changed: -x to +x)
>
The *nix execute attribute (x) may not exist on all places (FAT32
partitions, zip files, pendrives, ...). As a consequence, when you read
files from such places, they may be imported/copied/moved with a
differente attribute value (usually set) than you expected. This is the
same case for owner and group information.
The tar format preserve date and time stamps, as well as owner
information. Tar is good for keeping backups because of this (usually
associated with a good compression format, to save space).
More information about the bazaar
mailing list