shell doesn't update displayed info when switch branches

Bug #231110 reported by Luis Lavena
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
BzrTools
New
Undecided
Unassigned

Bug Description

Doing the lightweight checkout + no-trees branches + switch confuses shell.

Example:

bzr entry-edit-form:1502/> nick
entry-edit-form

bzr entry-edit-form:1502/> switch ../trunk/
Updated to revision 1518.
Switched to branch: D:/Users/Luis/projects/timetrax.bzr/trunk/

bzr entry-edit-form:1502/> nick
trunk
bzr entry-edit-form:1502/> st
? c.bat
? m.bat
? r.bat
bzr entry-edit-form:1502/> cd ..
bzr> cd work-copy/
bzr trunk:1518/>

==

See that shell still informs the old branch information and I need to step outside and get in again to get it updated info.

Revision history for this message
Stas Kalashnikov (halega) wrote :

It affects me too. Shell will be very usefull when using colocated branches (by bzr-colo) if it doens't countain this bug.

For instance (it should work this way):

$ bzr colo-init colo-repo
$ cd colo-repo
$ bzr pull ..\trunk
$ bzr shell
bzr trunk:640$ colo-branch -r 300 fix1
bzr fix1:300$ ci -m "Fix for bug1"
bzr fix1:301$ switch trunk
bzr trunk:640$ merge colo:fix1
bzr trunk:640$ ci -m "Fix for bug1"
bzr trunk:641$

But now it looks like:

$ bzr shell
bzr trunk:640$ colo-branch -r 300 fix1
bzr trunk:640$ ci -m "Fix for bug1"
bzr trunk:640$ switch trunk
bzr trunk:640$ merge colo:fix1
bzr trunk:640$ ci -m "Fix for bug1"
bzr trunk:641$

Revision history for this message
Stas Kalashnikov (halega) wrote :

Bazaar (bzr) 2.2.1
  Python interpreter: C:\Program Files (x86)\Bazaar\python26.dll 2.6.4
  Python standard library: C:\Program Files (x86)\Bazaar\lib\library.zip
  Platform: Windows-post2008Server-6.1.7600
  bzrlib: C:\Program Files (x86)\Bazaar\lib\library.zip\bzrlib
  Bazaar configuration: C:\Users\sk\AppData\Roaming\bazaar\2.0
  Bazaar log file: C:\Users\sk\Documents\.bzr.log

bzrtools 2.2.0
   Various useful commands for working with bzr.

colo 0.2.0
   Work with colocated branches using current technology.

explorer 1.1.1
   Version Control for Human Beings.

fastimport 0.9.0dev
   FastImport Plugin

grep 0.5.0dev
   Print lines matching PATTERN for specified files and revisions.

launchpad 2.2.1
   Launchpad.net integration plugin for Bazaar.

loom 2.2.1dev
   Loom is a bzr plugin which adds new commands to manage a loom of patches.

netrc_credential_store 2.2.1
   Use ~/.netrc as a credential store for authentication.conf.

news_merge 2.2.1
   Merge hook for bzr's NEWS file.

pipeline
   Manage a series of branches as a pipeline.

qbzr 0.19.2
   QBzr - Qt-based frontend for Bazaar

rewrite 0.6.1
   Rebase support.

svn 1.0.4
   Support for Subversion branches

upload 1.0.0dev
   Upload a working tree, incrementally.

xmloutput 0.8.6
   This plugin adds an option (--xml) to log and provides an xml version of some builtin commands.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.