| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1023,7 +1023,7 @@ def remove(self, items, working_tree=False, **kwargs): | |||
| 1023 | 1023 | Returns | |
| 1024 | 1024 | List(path_string, ...) list of paths that have been removed effectively. | |
| 1025 | 1025 | This is interesting to know in case you have provided a directory or | |
| 1026 | - globs. Paths are relative to the | ||
| 1026 | + globs. Paths are relative to the repository. | ||
| 1027 | 1027 | """ | |
| 1028 | 1028 | args = list() | |
| 1029 | 1029 | if not working_tree: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -88,6 +88,11 @@ def test_traversal(self): | |||
| 88 | 88 | # traversal should stop when the beginning is reached | |
| 89 | 89 | self.failUnlessRaises(StopIteration, first.traverse().next) | |
| 90 | 90 | ||
| 91 | + # parents of the first commit should be empty ( as the only parent has a null | ||
| 92 | + # sha ) | ||
| 93 | + assert len(first.parents) == 0 | ||
| 94 | + | ||
| 95 | + | ||
| 91 | 96 | @patch_object(Git, '_call_process') | |
| 92 | 97 | def test_rev_list_bisect_all(self, git): | |
| 93 | 98 | """ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments