bzr touch

Panagiotis Papadakos papadako at csd.uoc.gr
Thu Jan 29 13:39:08 GMT 2009


On Thursday 29 January 2009 15:35:19 Lukáš Lalinský wrote:
> On Thu, Jan 29, 2009 at 2:29 PM, Panagiotis Papadakos
>
> <papadako at csd.uoc.gr> wrote:
> > Hi everyone
> >
> > I was thinking if a command like 'bzr touch FILENAME', would be
> > beneficial. This command would create the file and also add it to the
> > branch.
> >
> > In this manner you just have to type:
> >
> > 'bzr touch lala'
> >
> > instead of
> >
> > 'touch lala'
> > 'bzr add lala'
>
> Probably not the solution you are looking for, but:
>
> 1. Install http://bzr.oxygene.sk/bzr-plugins/extcommand
> 2. Add "touch = touch $1 && bzr add $1" to [EXTERNAL_ALIASES] in
> bazaar.conf 3. bzr touch lala
>
> Lukas

Thanks for the suggestion,
but it is too much trouble for such a simple thing.

I just thought that 'bzr touch' is intuitive enough to be supported,
that's why I made the suggestion.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20090129/ec40b04b/attachment.htm 


More information about the bazaar mailing list