How do I know which branche I'm in ?

Asked by yacine chaouche

You are maintaining two branches : a dev branche and a prod branche. You created your branche like so :

bzr init prod
bzr branch prod dev

 You log into the test server and cd to the code directory. How do you know which branche is it ?

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Martin Packman
Solved:
Last query:
Last reply:
Revision history for this message
Best Martin Packman (gz) said :
#1

As discussed on IRC, the problem you have is that just using 'cp' to duplicate one of your branches somewhere else is probably not what you want. Instead, you can use a lightweight checkout for the same purpose, which then has the information about what branch the tree is from.

<http://irclogs.ubuntu.com/2012/12/12/%23bzr.html>

Revision history for this message
yacine chaouche (yacinechaouche) said :
#2

Thanks Martin Packman, that solved my question.