From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32657 invoked by alias); 29 Aug 2009 16:12:42 -0000 Received: (qmail 32645 invoked by uid 22791); 29 Aug 2009 16:12:40 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS_WEB,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-qy0-f195.google.com (HELO mail-qy0-f195.google.com) (209.85.221.195) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 29 Aug 2009 16:12:33 +0000 Received: by qyk33 with SMTP id 33so1989967qyk.24 for ; Sat, 29 Aug 2009 09:12:30 -0700 (PDT) Received: by 10.224.107.210 with SMTP id c18mr2116551qap.137.1251562350490; Sat, 29 Aug 2009 09:12:30 -0700 (PDT) Received: from hotblack.localnet ([201.82.16.197]) by mx.google.com with ESMTPS id 22sm1027547qyk.14.2009.08.29.09.12.28 (version=SSLv3 cipher=RC4-MD5); Sat, 29 Aug 2009 09:12:29 -0700 (PDT) From: Thiago Jung Bauermann To: Matt Rice Subject: Re: [RFA] Rename python files. Date: Sat, 29 Aug 2009 16:59:00 -0000 User-Agent: KMail/1.12.0 (Linux/2.6.30-1-amd64; KDE/4.3.0; x86_64; ; ) Cc: Eli Zaretskii , gdb-patches@sourceware.org References: <200908132359.32327.thiago.bauermann@gmail.com> <83eirekgy2.fsf@gnu.org> <8ba6bed40908250828t8e6b44cv14af8402927da584@mail.gmail.com> In-Reply-To: <8ba6bed40908250828t8e6b44cv14af8402927da584@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <200908291313.57162.thiago.bauermann@gmail.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00539.txt.bz2 Em Terça-feira 25 Agosto 2009 12:28:17 Matt Rice escreveu: > On Fri, Aug 14, 2009 at 12:11 AM, Eli Zaretskii wrote: > >> How should said renaming be done, by submitting and committing a patch > >> which removes the old file and adds a new one, or by moving things > >> around in CVSROOT? > > > > The latter is better, because it preserves the CVS history. But I > > think it requires special privileges on the repository. > > fyi I believe that by moving things around in the CVSROOT the changes > will not be automatically picked by the cvs/git conversion. I don't know much about conversions from CVS so I'll take your word on it. A quick search on the interwebs seem to indicate that conversion tools aren't good about detecting renames anyway, since CVS doesn't support the operation. IMHO the best way to do it then is to use the CVS-friendly way of doing a "rename": cvs rm $FILE, cvs add $NEW_FILE. IUUC git would be able to detect such rename (though I don't know it would show up in an svn-converted repo). Ok if I do it that way? -- []'s Thiago Jung Bauermann