hg.rst
changeset 852 089b0a96a3c7
parent 851 ebf1ef1c1615
child 853 ccec7dd08cf2
equal deleted inserted replaced
851:ebf1ef1c1615 852:089b0a96a3c7
    61   [defaults]
    61   [defaults]
    62   log = -f
    62   log = -f
    63 
    63 
    64 * Clone specific branches.
    64 * Clone specific branches.
    65 
    65 
    66   $ hg clone http://your/repo -r $branchname
    66   $ hg clone http://your/repo -r $branch
       
    67 
       
    68 * Closing branches.
       
    69 
       
    70   $ hg branches
       
    71 $branch (inactive)
       
    72 ...
       
    73   $ hg branches -a
       
    74 ...                     # no $branch
       
    75   $ hg up -r $branch
       
    76   $ hg ci --close-branch -m "Bla-bla-bla"
       
    77   $ hg up -r default
       
    78   $ hg branches
       
    79 ...                     # no $branch
       
    80   $ hg branches -c
       
    81 $branch (inactive)
       
    82 ...
    67 
    83 
    68 * Remove/rename files history from repo.
    84 * Remove/rename files history from repo.
    69 
    85 
    70   $ cat >filemap.txt <<EOF
    86   $ cat >filemap.txt <<EOF
    71 exclude path/to/file-or-dir
    87 exclude path/to/file-or-dir