All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wenlin Kang <wenlin.kang@windriver.com>
To: <bitbake-devel@lists.openembedded.org>
Subject: Re: [PATCH] fetch2/svn.py: fix Unable to fetch URL bug
Date: Wed, 11 Jun 2014 16:23:40 +0800	[thread overview]
Message-ID: <5398120C.7040001@windriver.com> (raw)
In-Reply-To: <1402455340-29531-1-git-send-email-wenlin.kang@windriver.com>

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(-)
>


-- 
Thanks,
Wenlin Kang



  parent reply	other threads:[~2014-06-11  8:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2014-06-23  7:12   ` Wenlin Kang
  -- strict thread matches above, loose matches on Subject: below --
2014-06-03  1:55 Wenlin Kang
2014-06-03  3:30 ` Saul Wold
2014-06-03  7:13   ` Wenlin Kang
2014-06-11  8:18     ` Wenlin Kang
2014-06-23  7:22       ` Wenlin Kang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5398120C.7040001@windriver.com \
    --to=wenlin.kang@windriver.com \
    --cc=bitbake-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.