How to duplicate a file and preserve history?

Asked by Brian Lacy on 2012-12-26

How can I duplicate an existing source file and preserve the log history on both files?

In subversion there is an "svn copy" command that does this, but I noticed there's no "bzr copy", is there a similar or equivalent operation? How can I accomplish this?

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
2012-12-26
Last reply:
2012-12-26
John A Meinel (jameinel) said : #1

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

On 2012-12-26 20:41, Brian Lacy wrote:
> New question #217670 on Bazaar:
> https://answers.launchpad.net/bzr/+question/217670
>
> How can I duplicate an existing source file and preserve the log
> history on both files?
>
> In subversion there is an "svn copy" command that does this, but I
> noticed there's no "bzr copy", is there a similar or equivalent
> operation? How can I accomplish this?
>

There is not a similar operation to 'svn copy'. The history of each
file cannot be shared between multiple files.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Cygwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlDbNkoACgkQJdeBCYSNAAP0zQCgk5X9925YPpz5afLc+N0rSVzk
Q4kAoJg4ko3d0avFs5PjukOUskoF2NHq
=OyyZ
-----END PGP SIGNATURE-----

trident_job (trident-job) said : #2

Can you help with this problem?

Provide an answer of your own, or ask Brian Lacy for more information if necessary.

To post a message you must log in.