Return-Path: X-Original-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6BB7210D71 for ; Sun, 19 Jan 2014 11:12:36 +0000 (UTC) Received: (qmail 44362 invoked by uid 500); 19 Jan 2014 11:12:35 -0000 Delivered-To: apmail-hadoop-yarn-dev-archive@hadoop.apache.org Received: (qmail 43904 invoked by uid 500); 19 Jan 2014 11:12:29 -0000 Mailing-List: contact yarn-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-dev@hadoop.apache.org Delivered-To: mailing list yarn-dev@hadoop.apache.org Received: (qmail 43892 invoked by uid 99); 19 Jan 2014 11:12:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jan 2014 11:12:26 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of abhiraj.butala@gmail.com designates 209.85.215.50 as permitted sender) Received: from [209.85.215.50] (HELO mail-la0-f50.google.com) (209.85.215.50) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jan 2014 11:12:20 +0000 Received: by mail-la0-f50.google.com with SMTP id ec20so4740405lab.37 for ; Sun, 19 Jan 2014 03:12:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Xudn5PoCibWzuQPL6ZlqW9rKRwigtxpfX32pCTuwt9o=; b=hGPuS9QFYylwd9LFlZejQvIOU7nXD3ES3nhzsSJ9fHuKwQaHBQiXJDsXMaagoaPaPQ p0qRP0McbFevTOWICVnvg6ymB08WxhEr/C9tx/mRy4hdU0KTKFXjBZEbRy7SZxDc572U lMg63wp60Btrd58geIr5QUoWc5oq4kLaveLzBKpqKX7NUvEk8zHWSJXP9BHlPYwl69EQ juHDx0vHdNHNJEHWd5Y4j58dfJVnJy+kbmaFcp6zC0Cm9xf9zljvv6rNZvQvO2Hma69u GhlQiL9Eq9vkbLzIBSZJGgWdMrbeTfpjR/46n+xY5GkiNlwtPMCjnkypad8s06zRDHUJ eCdg== MIME-Version: 1.0 X-Received: by 10.153.6.34 with SMTP id cr2mr242582lad.44.1390129920213; Sun, 19 Jan 2014 03:12:00 -0800 (PST) Received: by 10.152.131.226 with HTTP; Sun, 19 Jan 2014 03:12:00 -0800 (PST) Date: Sun, 19 Jan 2014 03:12:00 -0800 Message-ID: Subject: 'svn mv' and patches From: Abhiraj Butala To: yarn-dev@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a113496aa16058f04f050d8fe X-Virus-Checked: Checked by ClamAV on apache.org --001a113496aa16058f04f050d8fe Content-Type: text/plain; charset=ISO-8859-1 Hello, I have a newbie question about patch creation when there are file renames involved. I am working on a fix for https://issues.apache.org/jira/browse/YARN-1586 , which involves renaming a couple of files. As suggested on https://wiki.apache.org/hadoop/HowToContribute#Generating_a_patch , I did following: 1) Created a shell script which has the 'svn mv' commands 2) Ran the script and then made necessary changes 3) Created the diff using this command: "svn diff --no-diff-selected --notice-ancestry > YARN-1586.patch' The idea is to submit both the shell script and the patch as suggested. I tried to test this patch using 'dev-support/test-patch.sh' on a fresh checkout of hadoop-trunk, but it fails to apply because it does not find the new files to apply the patch on. Creating the patch before doing 'svn mv' also does not work, because now the test-patch.sh applies it cleanly but fails during build. I looked up online and tried a few suggestions but that did not seem to help. So, how should the patch be created so test-patch.sh and thus jenkins automation shall be happy? Am I missing something obvious here? Kindly let me know. Thank you! Regards, Abhiraj --001a113496aa16058f04f050d8fe--