Clarify whether to commit after "bzr merge-upstream"

Bug #827925 reported by Christophe Sauthier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Packaging Guide
Triaged
Low
Unassigned

Bug Description

After reading the page : http://developer.ubuntu.com/packaging/html/udd-merging.html

I am still not confortable what to do right after I used the command bzr merg-upstream.

Indeed my branch contains the new upstream version, but should I do a commit for that before I start twikking on the debian/ dir or not ?

Tags: merging udd
Revision history for this message
Jonathan Riddell (jr) wrote :

There's no need to do a commit before other changes, although you can if you like. The upstream changes are already in the upstream branch and you are left with a merge from that branch into the trunk packaging branch. bzr qlog might clarify this for you.

Revision history for this message
Jonathan Riddell (jr) wrote :

Please do suggest what is needed to make this clear in the guide

Revision history for this message
Christophe Sauthier (christophe.sauthier) wrote :

Thanks Jonathan for the answer. May be just add your explanation that the commit is not needed, and is let to the choice of the packager.

Revision history for this message
Barry Warsaw (barry) wrote : Re: [Ubuntu-packaging-guide-team] [Bug 827925] [NEW] How to handle a merge

On Aug 17, 2011, at 10:33 AM, Christophe Sauthier \(huats\) wrote:

>I am still not confortable what to do right after I used the command
>bzr merg-upstream.
>
>Indeed my branch contains the new upstream version, but should I do a
>commit for that before I start twikking on the debian/ dir or not ?

While a commit is not strictly necessary, I think it's "best practice" because
it separates the changes that occurred due to the merge, from the changes you
make post-merge. I find this helpful in case you make mistakes post-merge;
it's easier to figure out what you touched.

tags: added: udd
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote : Re: How to handle a merge

I'm looking at expanding some of the stuff on merging. FWIW, here's my take on the specific question:

dch -im "New upstream release."
debcommit
#hack on /debian
dch -am "Changes"
debcommit
dch -r
debcommit -r

summary: - How to handle a merge
+ Clarify whether to commit after "bzr merg-upstream"
Changed in ubuntu-packaging-guide:
status: New → Triaged
importance: Undecided → Low
tags: added: merging
summary: - Clarify whether to commit after "bzr merg-upstream"
+ Clarify whether to commit after "bzr merge-upstream"
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.