Restoring history of a "bzr remove"d file
Eli Zaretskii
eliz at gnu.org
Sun Feb 6 04:00:44 UTC 2011
> Date: Sat, 5 Feb 2011 16:00:53 -0600
> From: "Matthew D. Fuller" <fullermd at over-yonder.net>
> Cc: bazaar at lists.canonical.com
>
> o bzr revert -rREV_BEFORE_DELETION old/file
> o bzr rm new/file # possibly stashing a copy if there were changes
> o bzr mv old/file new/file
> o bzr commit
>
> What's the call for fiddling with merge anyway?
The incentive was to restore the history of that file, e.g. for "bzr
annotate" to show the past versions correctly.
Will "bzr revert" have this effect? I was under the impression that
it only restores the file's contents, but not its history.
More information about the bazaar
mailing list