Bazaar Mercurial Plugin to access BitBucket
Jelmer Vernooij
jelmer at samba.org
Thu Oct 20 23:09:10 UTC 2011
On 10/21/2011 12:36 AM, Eli Zaretskii wrote:
>> From: Martin Geisler<mg at lazybytes.net>
>> Date: Thu, 20 Oct 2011 22:44:02 +0200
>> Cc: bazaar at lists.canonical.com, Ben Finney<ben+bazaar at benfinney.id.au>
>>
>> I guess Bazaar users have the same problem from time to time?
> People forget no matter what VCS they are using. Especially if they
> bring with them habits from a VCS that doesn't have a "foo mv"
> command.
>
>> If so, is there a good way to recover and feed the correct rename
>> information to Bazaar?
> Yes:
>
> bzr revert -rREV_BEFORE_DELETION old-name
> bzr rm new-name # possibly stashing away a copy if there were changes
> bzr mv old-name new-name
It's also possible to use "bzr mv --auto" here.
> # if there were changes, restore new-name's current contents here
> bzr commit
Cheers,
Jelmer
More information about the bazaar
mailing list