pygit/dulwich: implement stash functionality (#5286)

* pygit2: disable set_ref with reflog message

* git: implement is_dirty in dulwich

* pygit2: implement _stash_apply

* pygit: update to 1.5.0

* enable set_ref(message=...) for pygit2

* git: replace backend reflog_delete in favor of _stash_drop

* pygit: support stash_push with custom refs

* update tests for backend stash_drop behavior

* pygit: raise MergeConflictError on failed stash apply

* pygit: reload index from disk before stash apply

* update stash_apply checkout strategy

* mark flaky test
This commit is contained in:
Peter Rowlands (변기호)
2021-03-08 17:24:35 +02:00
committed by GitHub
parent b4232bdc7c
commit d68f6d3696
9 changed files with 155 additions and 56 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ install_requires = [
"configobj>=5.0.6",
"gitpython>3",
"dulwich>=0.20.20",
"pygit2>=1.4.0",
"pygit2>=1.5.0",
"setuptools>=34.0.0",
"nanotime>=0.5.2",
"pyasn1>=0.4.1",