1257 list of bookmarks (list of string) |
1257 list of bookmarks (list of string) |
1258 </dd> |
1258 </dd> |
1259 </dl> |
1259 </dl> |
1260 <a NAME="Hg.hgGetBranchesList" ID="Hg.hgGetBranchesList"></a> |
1260 <a NAME="Hg.hgGetBranchesList" ID="Hg.hgGetBranchesList"></a> |
1261 <h4>Hg.hgGetBranchesList</h4> |
1261 <h4>Hg.hgGetBranchesList</h4> |
1262 <b>hgGetBranchesList</b>(<i></i>) |
1262 <b>hgGetBranchesList</b>(<i>withState=False, withDefault=False</i>) |
1263 |
1263 |
1264 <p> |
1264 <p> |
1265 Public method to get the list of branches. |
1265 Public method to get the list of branches. |
1266 </p> |
1266 </p> |
1267 <dl> |
1267 <dl> |
1268 <dt>Return:</dt> |
1268 |
1269 <dd> |
1269 <dt><i>withState</i> (bool (optional))</dt> |
1270 list of branches (list of string) |
1270 <dd> |
|
1271 flag indicating to include a state indication (defaults to |
|
1272 False) |
|
1273 </dd> |
|
1274 <dt><i>withDefault</i> (bool (optional))</dt> |
|
1275 <dd> |
|
1276 flag indicating to include the 'default' branch, if that |
|
1277 is present (defaults to False) |
|
1278 </dd> |
|
1279 </dl> |
|
1280 <dl> |
|
1281 <dt>Return:</dt> |
|
1282 <dd> |
|
1283 list of branches with optional state indication ('' for an active |
|
1284 branch, 'C' for a closed branch or 'I' for an inactive branch) |
|
1285 </dd> |
|
1286 </dl> |
|
1287 <dl> |
|
1288 <dt>Return Type:</dt> |
|
1289 <dd> |
|
1290 list of str or list of tuple of (str, str) |
1271 </dd> |
1291 </dd> |
1272 </dl> |
1292 </dl> |
1273 <a NAME="Hg.hgGetCurrentBranch" ID="Hg.hgGetCurrentBranch"></a> |
1293 <a NAME="Hg.hgGetCurrentBranch" ID="Hg.hgGetCurrentBranch"></a> |
1274 <h4>Hg.hgGetCurrentBranch</h4> |
1294 <h4>Hg.hgGetCurrentBranch</h4> |
1275 <b>hgGetCurrentBranch</b>(<i></i>) |
1295 <b>hgGetCurrentBranch</b>(<i></i>) |