Splitting a file into two new files cannot be handled by bzr mv

Bug #161195 reported by Jo Vermeulen
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

What used to be one class in the original revision, is now split up into two classes. Some methods that do generic computations are kept in the existing file, while the others have been moved to another class. I have also renamed the original file.

Now, what I would like to do is relate both files (the renamed and edited original one, and the new one) to the original file. However, this does not seem possible with bzr mv. I think Git is able to do this.

Is there any way to realize this with Bazaar?

Revision history for this message
Wesley J. Landaker (wjl) wrote :

I too miss this feature. It seems pretty fundamental to be able to track history across copies as well as moves.

For example, Subversion can track history across copies with 'svn cp'. I haven't found a way to do this yet with Bazaar, which for me is a disappointing regression as I move projects from SVN to Bazaar (especially given the essay about lossless VCS tools here: http://www.markshuttleworth.com/archives/125).

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 161195] Re: Splitting a file into two new files cannot be handled by bzr mv

On Thu, 2008-02-07 at 22:37 +0000, Wesley J. Landaker wrote:
> I too miss this feature. It seems pretty fundamental to be able to track
> history across copies as well as moves.
>
> For example, Subversion can track history across copies with 'svn cp'. I
> haven't found a way to do this yet with Bazaar, which for me is a
> disappointing regression as I move projects from SVN to Bazaar
> (especially given the essay about lossless VCS tools here:
> http://www.markshuttleworth.com/archives/125).

Right; we are actually planning on closely planning this feature in our
upcoming sprint in March.

-Rob

--
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Revision history for this message
Jo Vermeulen (jozilla) wrote :

That's great news!

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Was this ever discussed? I missed the rest of the week, but I can't find anything on the brainstorms wiki page either.

Revision history for this message
Vincent Ladeuil (vila) wrote :

This needs someone to work on it, the concepts have been discussed here: http://bazaar-vcs.org/BzrFileCopies and on the mailing list.

Changed in bzr:
importance: Undecided → Wishlist
status: New → Triaged
Martin Pool (mbp)
Changed in bzr:
status: Triaged → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.