From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 68E1766007 for ; Mon, 23 Jun 2014 07:12:34 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.5) with ESMTP id s5N7CYaU003391 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 23 Jun 2014 00:12:35 -0700 (PDT) Received: from [128.224.162.182] (128.224.162.182) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.169.1; Mon, 23 Jun 2014 00:12:34 -0700 Message-ID: <53A7D358.6000605@windriver.com> Date: Mon, 23 Jun 2014 15:12:24 +0800 From: Wenlin Kang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: References: <1402455340-29531-1-git-send-email-wenlin.kang@windriver.com> <5398120C.7040001@windriver.com> In-Reply-To: <5398120C.7040001@windriver.com> X-Originating-IP: [128.224.162.182] Subject: Re: [PATCH] fetch2/svn.py: fix Unable to fetch URL bug X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussion that advance bitbake development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2014 07:12:36 -0000 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit On 2014年06月11日 16:23, Wenlin Kang wrote: > On 2014年06月11日 10:55, Wenlin Kang wrote: >> The testing steps and instructions: >> >> First, we need to create a svn server on the server side, eg, my is >> svnroot >> $svnadmin create ~/workspace/svnroot >> >> Second, on the client side: >> $mkdir -p ~/workspace/svntest >> $cd ~/workspace/svntest >> $mkdir -p test/{trunk,branches,tag} >> $mkdir -p test/trunk/tdir0/tdir1/tdir2 >> $touch test/trunk/hello.c >> $touch test/trunk/tdir0/tdir1/tdir2/test2.c >> $touch test/trunk/tdir0/tdir1/test1.c >> $touch test/trunk/tdir0/test0.c >> >> $svn import -m "create the project test" test/ >> svn://xxx.xxx.xxx.xxx/svnroot/test >> >> Then, make some commit,... >> Such, we now get "r15" >> >> $svn cp -m "create a branch test_debug-1.0" >> svn://xxx.xxx.xxx.xxx/svnroot/test/trunk >> svn://xxx.xxx.xxx.xxx/svnroot/test/branches/test_debug-1.0 >> >> Now, we need to create a bb file(eg,mytest.bb) to download "tdir1" >> with the verion < test_debug-1.0 created time version, >> eg, download r12, then in bb file has: >> >> SRCREV = "12" >> SRC_URI = >> "svn://xxx.xxx.xxx.xxx/svnroot/test/branches/test_debug-1.0;module=test0/tdir1" > > Replace "module=test0/tdir1" with "module=tdir0/tdir1" > > //Wenlin > >> Last, run fetch for mytest.bb >> >> Wenlin Kang (1): >> fetch2/svn.py: fix Unable to fetch URL bug >> >> lib/bb/fetch2/svn.py | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> > > ping // Wenlin -- Thanks, Wenlin Kang