git ubuntu merge start fails on logwatch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
Triaged
|
Low
|
Unassigned |
Bug Description
[Impact]
Attempting to start a merge using git ubuntu fails in the current tree for logwatch.
[Test Case]
$ snap info git-ubuntu
name: git-ubuntu
summary: Ubuntu development git tooling
publisher: Canonical✓
contact: https:/
license: unset
description: |
Imports, clones, etc. a source package in a git tree
commands:
- git-ubuntu
- git-ubuntu.
- git-ubuntu.man
- git-ubuntu.
- git-ubuntu.
- git-ubuntu.
- git-ubuntu.
- git-ubuntu.
snap-id: VAGSRAriUyDDlqs
tracking: edge
refresh-date: 26 days ago, at 16:08 CET
channels:
stable: 0.7.4+git16.0a79cbc (391) 104MB classic
candidate: 0.7.4 (392) 105MB classic
beta: 0.7.4+git148.
edge: 0.7.4+git148.
installed: 0.7.4+git148.
$ git ubuntu clone logwatch
$ cd logwatch
$ git log|head -1
commit 0a8d80deb8cfdb7
$ git ubuntu merge start ubuntu/devel --bug 1810928
01/08/2019 12:40:38 - INFO:debian/sid is not a defined object in this git repository.
01/08/2019 12:40:38 - INFO:Creating a local branch named debian/sid tracking pkg/debian/sid.
01/08/2019 12:40:38 - INFO:Created tag lp1810928/
01/08/2019 12:40:38 - INFO:Created tag lp1810928/
01/08/2019 12:40:38 - INFO:Created tag lp1810928/
01/08/2019 12:40:38 - ERROR:Command exited 1: git cherry-pick --allow-empty --keep-
01/08/2019 12:40:38 - ERROR:stdout:
01/08/2019 12:40:38 - ERROR:stderr: error: could not apply 326ad2e... changelog
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
Traceback (most recent call last):
File "/snap/
load_
File "/snap/
sys.
File "/snap/
subcommand=
File "/snap/
tag_only,
File "/snap/
do_
File "/snap/
repo.
File "/snap/
**kwargs,
File "/snap/
return run(['git'] + list(args), env=env, **kwargs)
File "/snap/
raise e
File "/snap/
stdout=stdout, stderr=stderr, stdin=stdin)
File "/snap/
output=stdout, stderr=stderr)
subprocess.
Not sure how to reproduce this synthetically, at least at the moment, since the current package is caught up with debian. Checking out 0a8d80deb8cfdb7 and doing the git ubuntu merge start command appears to no longer be sufficient.
Fwiw, I was able to merge logwatch for eoan without this particular issue, although I didn't use the --bug parameter. However, my suspicion is that the --keep- redundant- commits parameter is involved in some fashion here.