[Python-mode] Version?

Andreas Röhler andreas.roehler at online.de
Mon Jan 17 19:20:17 CET 2011


Am 17.01.2011 18:53, schrieb skip at pobox.com:
>
>      Andreas>  Seems bazaar diff fails here.
>
>      Andreas>  bzr branch lp:python-mode
>
>      Andreas>  should deliver the trunk
>
> I'm inside my python-mode sandbox:
>
>      % bzr branch lp:python-mode
>      Branched 390 revision(s).
>      python-mode% bzr status
>      unknown:
>        python-mode/
>        python-mode.elc
>
> It creates a whole other tree.  I don't want an explosion of sandboxes.


Looks like you branched a repo in a repo

A solution is to start from some empty place again.

bzr branch lp:python-mode

creates a dir python-mode


> Can't I switch between different branches somehow?

Sure.

Depends what you want to do.


>
> This is perhaps a small point for this, because I can actually get away with
> deleting my stuff completely and switching to lp:python-mode.  For more
> complex projects though, I should be able to switch between branches.  I
> want the equivalent of the cvs and svn commands
>
>      cvs up -r some-other-branch
>      svn up -r some-other-branch
>
> Is this not possible with bazaar?

with bazaar you may simply copy locally

cp -pur source new

or push a branch at some distant place

bzr push lp:~<you>/python-mode/blah-and-blub




>
> Skip
>



More information about the Python-mode mailing list