equal
deleted
inserted
replaced
998 |
998 |
999 The returned object conforms to the ``imanifestrevisionstored`` |
999 The returned object conforms to the ``imanifestrevisionstored`` |
1000 interface. |
1000 interface. |
1001 """ |
1001 """ |
1002 |
1002 |
1003 def get(dir, node, verify=True): |
1003 def get(tree, node, verify=True): |
1004 """Retrieve the manifest instance for a given directory and binary node. |
1004 """Retrieve the manifest instance for a given directory and binary node. |
1005 |
1005 |
1006 ``node`` always refers to the node of the root manifest (which will be |
1006 ``node`` always refers to the node of the root manifest (which will be |
1007 the only manifest if flat manifests are being used). |
1007 the only manifest if flat manifests are being used). |
1008 |
1008 |
1009 If ``dir`` is the empty string, the root manifest is returned. Otherwise |
1009 If ``tree`` is the empty string, the root manifest is returned. |
1010 the manifest for the specified directory will be returned (requires |
1010 Otherwise the manifest for the specified directory will be returned |
1011 tree manifests). |
1011 (requires tree manifests). |
1012 |
1012 |
1013 If ``verify`` is True, ``LookupError`` is raised if the node is not |
1013 If ``verify`` is True, ``LookupError`` is raised if the node is not |
1014 known. |
1014 known. |
1015 |
1015 |
1016 The returned object conforms to the ``imanifestrevisionstored`` |
1016 The returned object conforms to the ``imanifestrevisionstored`` |