[ANN] Bazaar Externals plugin

Eugene Tarasenko eugene.tarasenko at gmail.com
Sat Nov 14 04:33:40 GMT 2009


Óscar Fuentes <ofv <at> wanadoo.es> writes:
>                 # command branch don't create recursive directory
>                 dirs = dir.rpartition('/')
>                 if not isdir(dirs[0]):
>                     os.makedirs(dirs[0].encode(encoding))
> 
> I need to remove the os.makedirs because the branch command will fail if
> the directory already exists.

Yes bzr will fail, but I create only path to dir, example you have dir =
'3/2/1/lib' I created only path '3/2/1'.

> In the `pull' method, the directory name of the external is in arg[2]
> for me, not in arg[0].

Hmm, You will use scheme 'url dir [rev]' in '.bzrexternals' file?

> For example, externals should be fetched when the `update' command is
> executed too

Bazaar not call post_pull hook on update command. I written to
https://bugs.launchpad.net/bzr/+bug/482220




More information about the bazaar mailing list