Make "rename" command an alias for "mv"?

John A Meinel john at arbash-meinel.com
Thu Oct 27 23:19:39 BST 2005


Matthieu Moy wrote:
> John A Meinel <john at arbash-meinel.com> writes:
> 
>> Well, I'm not a terminal expert.
>> I believe the trick is to have part of the protocol define what terminal
>> you are currently working on, and somehow have the server process grab
>> hold of that terminal before continuing.
> 
> I think it's simpler to do the fork() for the editor on the client
> side.
> 
> The difficulty is that you have to make sure that _all_ operations
> needing to grab the terminal are correctly managed by your client
> (like GPG signing requiring a passphrase).
> 

This makes the client need to actually parse the commands, and
understand what needs to be done.
The point of the "bzr service" plugin, was to have a very stupid client,
which only passes the requests to the server.

'bzr commit -m "foo"' does work fine.

I suppose the communication could be updated so that the server could
tell the client to do things. Such as "spawn this program, and give me
the results".

At the very least, I guess, the service plugin should completely
disconnect from the current terminal, so that you get a failure, rather
than having an editor show up elsewhere.

John
=:->


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051027/2b17c898/attachment.pgp 


More information about the bazaar mailing list