src 1.31 branch switching
I installed src 1.31
and successfully created branches but I was not able to switch the active branch.
According to $ src help intro
:
You can change the current branch by either checking out a revision that is on that branch, or using a 'src branch' command to explicitly change the current branch.
Trying the second method, to explicitly change the active branch to trunk
results in the following error:
$ src branch trunk file.txt
src: branch requires a list, create, or delete modifier
Also, branch switching is not described in $ src help branch
as a possible command syntax.
As for the first described method, let's say that revision 1 is of branch trunk
while revision 2 is of the my1stbranch
branch, then, doing
$ src checkout 1 file.txt
$ src branch -l
would still list my1stbranch
and not trunk
as the current branch !
i.e with the "active" asterisk sign on my1stbranch
:
1 * my1stbranch
0 - trunk