-
Committer:
mergebot at canonical
-
Author(s):
"Benjamin Allot"
-
Date:
2020-05-05 06:18:00 UTC
-
mfrom:
(113.1.2 fix_git_branch)
-
Revision ID:
mergebot@juju-139df4-prod-is-toolbox-0.canonical.com-20200505061800-w51bu6sqaa4d6qyt
Fix the test_get_branch to really highlight the issue
This test now fails, demonstrating that trying to run
twice the same codetree with "branch" without revno result in a
"git checkout master".
If the master does not exist, this fails (and checking out
master in such case is wrong anyway).
Reviewed-on: https://code.launchpad.net/~ballot/codetree/lp1829771/+merge/382971
Reviewed-by: Stuart Bishop <stuart.bishop@canonical.com>
Reviewed-by: Laurent Sesques <laurent.sesques@canonical.com>