Currently, when run on a repository with commits containing
unicode characters in their subject lines, an exception is
generated when these patch descriptions are written to the
todo file. This patch fixes that issue by writing the todo
file using UTF-8 encoding
Change-Id: I7ed61d5432cde842b09ec106011e584dd0d5a3d0
* rename hpgit to git-upstream
* rename import-upstream commadn to import
* change all occurrences of hpgit and import-upstream in code,
comments and tests
* code cleanup (remove some typos, improve PEP8 compliance)
* change license from "HP propietary" to "Apache License v2.0"
Change-Id: Ia4f00d662d79ac9725316027a65f4d23ebbd0f02
JIRA:CICD-1319
JIRA:CICD-1318
* supersede command allows the marking of commits as superceded by a
set of upstream changes
* drop command allows the marking of commits that should be dropped
Both commands add git notes to a given sha1 in the upstream-merge
namespace (refs/notes/upstream-merge).
The notes are read by the import-upstream command during import and
the appropriate actions are then taken.
Add functional and unit tests for the two newly created commands.
JIRA: CICD-248
Change-Id: I6f69dd890af18e77a9affdb958afde1ec8b1cab8
hpgit lacks of functional tests that ensure it works as expected and
that can be used to automate code verifications.
Functional tests will help to improve hpgit software quality.
JIRA: CICD-1089
Change-Id: Id9764b93c504da3fcc8d8c56415120536388a432