How do I know which branche I'm in ?
Asked by
yacine chaouche
on 2012-12-11
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:
- 2012-12-12
- Last query:
- 2012-12-12
- Last reply:
- 2012-12-12
|
#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.
Thanks Martin Packman, that solved my question.
To post a message you must log in.