Openembedded Bitbake Development
 help / color / mirror / Atom feed
* [PATCH] fetch2/svn.py: fix Unable to fetch URL bug
@ 2014-06-11  2:55 Wenlin Kang
  2014-06-11  2:55 ` Wenlin Kang
  2014-06-11  8:23 ` Wenlin Kang
  0 siblings, 2 replies; 4+ messages in thread
From: Wenlin Kang @ 2014-06-11  2:55 UTC (permalink / raw)
  To: bitbake-devel

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-23  7:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-11  2:55 [PATCH] fetch2/svn.py: fix Unable to fetch URL bug Wenlin Kang
2014-06-11  2:55 ` Wenlin Kang
2014-06-11  8:23 ` Wenlin Kang
2014-06-23  7:12   ` Wenlin Kang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox