Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-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 1EB21DACA for ; Fri, 21 Sep 2012 18:25:08 +0000 (UTC) Received: (qmail 77578 invoked by uid 500); 21 Sep 2012 18:25:07 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 77531 invoked by uid 500); 21 Sep 2012 18:25:07 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 77513 invoked by uid 500); 21 Sep 2012 18:25:07 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 77508 invoked by uid 99); 21 Sep 2012 18:25:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2012 18:25:07 +0000 Date: Sat, 22 Sep 2012 05:25:07 +1100 (NCT) From: "Ivan Gorbachev (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <516436424.108665.1348251907505.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (HIVE-3498) hivetest.py fails with --revision option MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ivan Gorbachev created HIVE-3498: ------------------------------------ Summary: hivetest.py fails with --revision option Key: HIVE-3498 URL: https://issues.apache.org/jira/browse/HIVE-3498 Project: Hive Issue Type: Bug Components: Testing Infrastructure Reporter: Ivan Gorbachev Assignee: Ivan Gorbachev How to reproduce outside hivetest.py: 1. Clone git://git.apache.org/hive.git 2. Run ant arc-setup 3. Run arc patch Output: {quote} This diff is against commit https://svn.apache.org/repos/asf/hive/trunk@1382631, but the commit is nowhere in the working copy. Try to apply it against the current working copy state? (d5f66df1edfff2645f225298e225dbccc70d97ff) [Y/n] {quote} If you choose 'Y' it suggests you to complete 'merge-message' and then prints: {quote} Select a Default Commit Range You're running a command which operates on a range of revisions (usually, from some revision to HEAD) but have not specified the revision that should determine the start of the range. Previously, arc assumed you meant 'HEAD^' when you did not specify a start revision, but this behavior does not make much sense in most workflows outside of Facebook's historic git-svn workflow. arc no longer assumes 'HEAD^'. You must specify a relative commit explicitly when you invoke a command (e.g., `arc diff HEAD^`, not just `arc diff`) or select a default for this working copy. In most cases, the best default is 'origin/master'. You can also select 'HEAD^' to preserve the old behavior, or some other remote or branch. But you almost certainly want to select 'origin/master'. (Technically: the merge-base of the selected revision and HEAD is used to determine the start of the commit range.) What default do you want to use? [origin/master] {quote} There isn't the same behavior for svn checkout. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira