Return-Path: Delivered-To: apmail-gump-commits-archive@www.apache.org Received: (qmail 59849 invoked from network); 1 Oct 2004 20:54:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Oct 2004 20:54:42 -0000 Received: (qmail 89853 invoked by uid 500); 1 Oct 2004 20:53:15 -0000 Mailing-List: contact commits-help@gump.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gump.apache.org Delivered-To: mailing list commits@gump.apache.org Received: (qmail 89782 invoked by uid 99); 1 Oct 2004 20:53:13 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 01 Oct 2004 13:53:12 -0700 Received: (qmail 59171 invoked by uid 65534); 1 Oct 2004 20:53:11 -0000 Date: 1 Oct 2004 20:53:11 -0000 Message-ID: <20041001205311.59169.qmail@minotaur.apache.org> From: ajack@apache.org To: commits@gump.apache.org Subject: svn commit: rev 51756 - gump/trunk/python/gump/update X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: ajack Date: Fri Oct 1 13:53:10 2004 New Revision: 51756 Modified: gump/trunk/python/gump/update/svn.py Log: Name the location to 'svn checkout' into, *especially* if the directory is not named the same as the module, or if not sub-directory specified. Modified: gump/trunk/python/gump/update/svn.py ============================================================================== --- gump/trunk/python/gump/update/svn.py (original) +++ gump/trunk/python/gump/update/svn.py Fri Oct 1 13:53:10 2004 @@ -250,8 +250,8 @@ # If module name != SVN directory, tell SVN to put it into # a directory named after our module # - if module.svn.hasDir(): - if not module.svn.getDir() == module.getName(): + if not module.svn.hasDir() or \ + not module.svn.getDir() == module.getName(): cmd.addParameter(module.getName()) return (module.repository, url, cmd)