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

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

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.


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

Thanks Martin Packman, that solved my question.