equal
deleted
inserted
replaced
1221 Use the command :hg:`update` to switch to an existing branch. |
1221 Use the command :hg:`update` to switch to an existing branch. |
1222 |
1222 |
1223 Returns 0. |
1223 Returns 0. |
1224 """ |
1224 """ |
1225 |
1225 |
|
1226 ui.pager('branches') |
1226 fm = ui.formatter('branches', opts) |
1227 fm = ui.formatter('branches', opts) |
1227 hexfunc = fm.hexfunc |
1228 hexfunc = fm.hexfunc |
1228 |
1229 |
1229 allheads = set(repo.heads()) |
1230 allheads = set(repo.heads()) |
1230 branches = [] |
1231 branches = [] |