|
@@ -303,7 +303,7 @@ def _set_filesystem_hidden(path):
|
|
|
if not SetFileAttributesW(path, FILE_ATTRIBUTE_HIDDEN):
|
|
|
pass
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
class ParentsProvider(object):
|
|
@@ -399,7 +399,7 @@ class BaseRepo(object):
|
|
|
raise NotImplementedError(self._put_named_file)
|
|
|
|
|
|
def _del_named_file(self, path):
|
|
|
- """Delete a file in the contrl directory with the given name."""
|
|
|
+ """Delete a file in the control directory with the given name."""
|
|
|
raise NotImplementedError(self._del_named_file)
|
|
|
|
|
|
def open_index(self):
|
|
@@ -1053,7 +1053,7 @@ class UnsupportedVersion(Exception):
|
|
|
class Repo(BaseRepo):
|
|
|
"""A git repository backed by local disk.
|
|
|
|
|
|
- To open an existing repository, call the contructor with
|
|
|
+ To open an existing repository, call the constructor with
|
|
|
the path of the repository.
|
|
|
|
|
|
To create a new repository, use the Repo.init class method.
|
|
@@ -1390,7 +1390,7 @@ class Repo(BaseRepo):
|
|
|
tree_entry = self.object_store[tree_id].lookup_path(
|
|
|
self.object_store.__getitem__, tree_path)
|
|
|
except KeyError:
|
|
|
-
|
|
|
+
|
|
|
|
|
|
try:
|
|
|
del index[tree_path]
|