Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id 5C5B065DCD for ; Wed, 11 Jun 2014 02:56:26 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.5/8.14.5) with ESMTP id s5B2uRf9014262 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 10 Jun 2014 19:56:27 -0700 (PDT) Received: from PEK-WKANG-D1.corp.ad.wrs.com (128.224.162.182) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.169.1; Tue, 10 Jun 2014 19:56:27 -0700 From: Wenlin Kang To: Date: Wed, 11 Jun 2014 10:55:39 +0800 Message-ID: <1402455340-29531-1-git-send-email-wenlin.kang@windriver.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Subject: [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: Wed, 11 Jun 2014 02:56:29 -0000 Content-Type: text/plain 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" 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(-) -- 1.7.9.5