Mercurial > hgbook
comparison ja/branch.tex @ 794:41bb6ec2ca27
Propagate c36a6f534b99
Fix named branching book section.
'hg update -C branchname' is no longer required to jump from one named
branch to another one; this can also be done simply using 'hg update
branchname'.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 18 Jun 2009 16:23:58 +0900 |
parents | 32d33b238b7e |
children | 5276f40fca1c |
comparison
equal
deleted
inserted
replaced
793:fa1c3715254d | 794:41bb6ec2ca27 |
---|---|
607 \interaction{branch-named.update-nothing} | 607 \interaction{branch-named.update-nothing} |
608 | 608 |
609 %Committing a new change on the \texttt{foo} branch introduces a new | 609 %Committing a new change on the \texttt{foo} branch introduces a new |
610 %head. | 610 %head. |
611 %\interaction{branch-named.foo-commit} | 611 %\interaction{branch-named.foo-commit} |
612 %We can no longer update from \texttt{foo} to \texttt{bar} without | |
613 %going ``sideways'' in history, so Mercurial forces us to provide the | |
614 %\hgopt{update}{-C} option to \hgcmd{update}. | |
615 %\interaction{branch-named.update-bar} | |
616 | 612 |
617 $B?7$7$$JQ99$r(B\texttt{foo}$B$K%3%_%C%H$9$k$H!$?7$7$$(Bhead$B$,:n$i$l$k!%(B | 613 $B?7$7$$JQ99$r(B\texttt{foo}$B$K%3%_%C%H$9$k$H!$?7$7$$(Bhead$B$,:n$i$l$k!%(B |
618 \interaction{branch-named.foo-commit} | 614 \interaction{branch-named.foo-commit} |
619 $B$b$O$d(B\texttt{foo}$B$+$i(B\texttt{bar}$B$X$O!$OFF;$K0o$l$k$3$H$J$/99?7$9$k$3$H(B | |
620 $B$O$G$-$J$$!%$=$3$G!$(B\hgopt{update}{-C}$B%*%W%7%g%s$r;H$C$F(B\hgcmd{update}$B$r(B | |
621 $B<B9T$9$k$3$H$,I,MW$K$J$k!%(B | |
622 \interaction{branch-named.update-bar} | |
623 | 615 |
624 %\section{Branch names and merging} | 616 %\section{Branch names and merging} |
625 \section{$B%V%i%s%AL>$H%^!<%8(B} | 617 \section{$B%V%i%s%AL>$H%^!<%8(B} |
626 | 618 |
627 %As you've probably noticed, merges in Mercurial are not symmetrical. | 619 %As you've probably noticed, merges in Mercurial are not symmetrical. |