Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8CF6210204 for ; Wed, 19 Feb 2014 21:32:45 +0000 (UTC) Received: (qmail 10786 invoked by uid 500); 19 Feb 2014 21:32:44 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 10745 invoked by uid 500); 19 Feb 2014 21:32:44 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 10730 invoked by uid 99); 19 Feb 2014 21:32:43 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Feb 2014 21:32:43 +0000 Received: from localhost (HELO mail-la0-f44.google.com) (127.0.0.1) (smtp-auth username vines, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Feb 2014 21:32:43 +0000 Received: by mail-la0-f44.google.com with SMTP id hr13so745333lab.17 for ; Wed, 19 Feb 2014 13:32:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=g71OAp0XDx2PMyHcOVI1s+10/mEfvPkrrOJLBa9BIvY=; b=XsQUX2KbmPdrziW3QDz9eO/lRhR6L0/Yllv21qlc/wAAoqu3yLVWqfpUxeLpwwQQcZ pnCBS0M2TquKFvK6vOFfbGQVS6md66GevOAmSxjMQvDQ1ohJxD/1wCReGZkgn6Fs7qiX KsWP/DqFfJjSsI1jEwgKcP1oHeMj71cU/+1wrRUS3MXhHSwOXQAHx8TLnkSQUoaQvyIE l6bSl9ajKVJVjF9wOva7DVmKGCrNA0qRWn7d1OWlVrXpBMKhkIvWL819iBY190Yxc59N YCpZT+RoJOWvbbsmILQAUvLeTRDrZGanths+3Spl2dat9hsNvklThlpV9HzCn47w6PZ4 hPeA== X-Received: by 10.152.36.70 with SMTP id o6mr26952934laj.7.1392845561226; Wed, 19 Feb 2014 13:32:41 -0800 (PST) MIME-Version: 1.0 Reply-To: vines@apache.org Received: by 10.114.93.198 with HTTP; Wed, 19 Feb 2014 13:32:01 -0800 (PST) In-Reply-To: References: From: John Vines Date: Wed, 19 Feb 2014 16:32:01 -0500 Message-ID: Subject: Re: [jira] [Commented] (ACCUMULO-1961) Fix trivial compiler/javadoc warnings To: Accumulo Dev List Content-Type: multipart/alternative; boundary=089e0160b618e76af204f2c920fc --089e0160b618e76af204f2c920fc Content-Type: text/plain; charset=ISO-8859-1 The person who commits to an earlier branch should be merging it forward. So you really shouldn't have to be orchestrating in the first place. You put in a commit that doesn't need to be merged forward? Then you do the empty merge forward. On Wed, Feb 19, 2014 at 4:21 PM, Bill Havanki wrote: > John's strategy can certainly work [1]. I don't think it's a good idea to > make it a typical part of workflow, though. It's complicated, and I don't > want to have to look back through the history before each merge (3 of them > for a 1.4 change) for commits to skip. > > Also, skipped commits are still left behind, unmergeable, requiring a > cherry-pick to be rescued later. So, to be safe, you'd have to wait to find > out what to do with them before skipping. > > I don't know a better tactic, but I have the feeling it must involve less > branches or less merging. > > [1] > > http://stackoverflow.com/questions/727994/git-skipping-specific-commits-when-merging > > > On Wed, Feb 19, 2014 at 3:20 PM, Christopher wrote: > > > As Mike pointed out, you can't do it if there is unmerged parents. You > > have to merge the parents first, then your commit. If there's any > > commits which are children of the commit you want to merge with > > -sours, you can single out your specific commit by referencing the > > sha1 in the merge instead of the branch name. That will leave the > > children unmerged, still, but will isolate your -sours to just that > > commit. Then you can merge the remaining children in a separate merge. > > > > -- > > Christopher L Tubbs II > > http://gravatar.com/ctubbsii > > > > > > On Wed, Feb 19, 2014 at 3:03 PM, Bill Havanki > > > wrote: > > > Popping this out of JIRA since I am changing the subject somewhat. > > > > > > Christopher (or anyone, really): Can you give me an example of doing a > > > merge with -sours but only with specific commits, as recommended? It > > makes > > > sense that this is safer vs. sweeping in HEAD. Just trying to refine my > > > workflow. Thanks! > > > > > > Bill > > > > > > ---------- Forwarded message ---------- > > > From: Christopher Tubbs (JIRA) > > > Date: Wed, Feb 19, 2014 at 2:36 PM > > > Subject: [jira] [Commented] (ACCUMULO-1961) Fix trivial > compiler/javadoc > > > warnings > > > To: notifications@accumulo.apache.org > > > > > > [ > > > > > > https://issues.apache.org/jira/browse/ACCUMULO-1961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13905940#comment-13905940 > > ] > > > > > > Christopher Tubbs commented on ACCUMULO-1961: > > > --------------------------------------------- > > > > > > It looks like you are right. Be careful about -sours. You should > probably > > > only use that with specific commits, not the HEAD of the branch, which > > > could reference multiple commits. > > > > > > Don't worry about fixing it. I'll redo. There's some other javadoc > > > errors/warnings and other trivial warnings in master that need to be > > fixed > > > anyway. > > > > > > -- > | - - - > | Bill Havanki > | Solutions Architect, Cloudera Government Solutions > | - - - > --089e0160b618e76af204f2c920fc--