[MERGE] Minor help fixes for add, commit, export
Ian Clatworthy
ian.clatworthy at internode.on.net
Thu Apr 5 03:35:58 BST 2007
Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ian Clatworthy wrote:
>
>> Aaron Bentley wrote:
>>
>>> Aaron Bentley has voted -0.
>>> Status is now: Approved
>>> Comment:
>>> Adding info about selected-file commits and merge is fine. Removing
>>> information about selected-file commits without merge doesn't make sense.
>>>
>> Can you briefly explain when exactly a selected file commit will fail?
>>
>
> ~$ bzr init foo
> abentley at lappy:~$ mkdir foo/bar
> abentley at lappy:~$ bzr add foo/bar
> added bar
> abentley at lappy:~$ bzr commit foo -m "committing foo"
> added bar
> Committed revision 1.
> abentley at lappy:~$ bzr mv foo/bar foo/baz
> bar => baz
> abentley at lappy:~$ mkdir foo/bar
> abentley at lappy:~$ bzr add foo/bar
> added bar
> abentley at lappy:~$ bzr commit -m "committing bar but not baz" foo/bar
> added bar
> bzr: ERROR: bar is already versioned
>
>
>> And why that's a reasonable limitation for commit to have?
>>
>
> If the user wanted the rename of bar => baz to be committed, they would
> have specified so. Failing to commit gives the user the opportunity to
> decide whether they want to commit the rename and the add of bar at the
> same time, or to commit the rename first, or to not commit at all.
>
> Aaron
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGFF2N0F+nu1YWqI0RAhZWAJ9/vP2eG2egAPPsboqXpNAZbnF2sgCghOu4
> oYNDC4E1PHGm4tWeizyi80o=
> =YUUE
> -----END PGP SIGNATURE-----
>
>
Aaron,
Thanks for this. I'll see what I can do (early next week) to turn that
into a better help message for commit.
Ian C.
More information about the bazaar
mailing list