Feature Request: 'bzr mv --after' to tell bzr that file(s) have already been moved in the working tree
Hanns-Steffen Eichenberg
scameronde at googlemail.com
Fri Nov 3 14:42:45 GMT 2006
... elegant and intuitive. Why has it not been implemented yet? Any concerns
or were there just more important things to do?
I am quite sure that i am able to code a draft, but definitely not something
that is ready to merge, as i do not yet know your testing framework and your
processes.
BTW. i have read the 'HACKING' document (version from 03-11-2006), but i
still have some questions regarding the process. Can i just post a [patch]
with the enhancement to the mailing list or should i use the bug tracker to
open a feature request first?
Since the proposed enhancement is visible to the end user, is there some
sort of 'board' that decides this functionality besides the mentioned voting
mechanism?
Do i have to become some sort of official commiter first, or are code drafts
welcome from new people like me?
Sorry for asking that much questions, but i am trying to find my way around.
Ciao,
Steffen
On 11/3/06, Erik Bågfors <zindar at gmail.com> wrote:
>
> I think "bzr mv foo bar" should have the following logic
>
> if file foo exists
> move file foo to bar
> move file_id from foo to bar
> else if file bar exists
> move file_id from foo to bar
>
> That way, the following means the same
> mv foo bar
> bzr mv foo bar
>
> and
> bzr mv foo bar
>
> I think that's what Aaron is talking about.
>
> /Erik
>
>
> On 11/3/06, Hanns-Steffen Eichenberg <scameronde at googlemail.com> wrote:
> > An automatic detection of moved files would be great, but i think you
> have
> > to have an explicit option in addition. Why? When refactoring Java Code
> > (rename a class, for example), the name of the file AND the file content
> > changes simultaneously. It is an atomic operation from within Eclipse
> (and
> > all other major Java IDEs). How can this be later detected by an
> algorithm?
> >
> > Ciao,
> > Steffen (scameronde)
> >
> >
> >
> > On 11/3/06, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Hanns-Steffen Eichenberg wrote:
> > > > I really would like to see an option like '--after' for the mv
> command.
> > >
> > > > Has this feature been discussed before? Is the idea good or am i
> missing
> > > > something that makes it just plain silly?
> > > > RFC.
> > >
> > > We should definitely support this functionality. In the past, we've
> > > discussed not requiring a special flag to do this, just detecting that
> > > the file has already moved, and just moving the file_id.
> > >
> > > Aaron
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.4.1 (GNU/Linux)
> > > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> > >
> > >
> > iD8DBQFFS0kI0F+nu1YWqI0RAl8YAKCGO72FPKSpKjNR6Bu831pLHhtR2wCfceLW
> > > WgWlLaygelqH/SXfUQt4HB8=
> > > =vAtG
> > > -----END PGP SIGNATURE-----
> > >
> >
> >
>
>
> --
> google talk/jabber. zindar at gmail.com
> SIP-phones: sip:erik_bagfors at gizmoproject.com
> sip:17476714687 at proxy01.sipphone.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20061103/05dea5a4/attachment.htm
More information about the bazaar
mailing list