diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-06 13:16:13 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-06 13:16:13 +0000 |
commit | ffdec425bfb26e152d1da5824a36dfe1fe72cd92 (patch) | |
tree | 38a5233e01e62d57964dbb0bf38ca88a92049386 /bitbake-dev/lib/bb/fetch/svn.py | |
parent | 4be017e82fdfbfbe1bf484bf745e770d18417918 (diff) | |
download | openembedded-core-ffdec425bfb26e152d1da5824a36dfe1fe72cd92.tar.gz openembedded-core-ffdec425bfb26e152d1da5824a36dfe1fe72cd92.tar.bz2 openembedded-core-ffdec425bfb26e152d1da5824a36dfe1fe72cd92.tar.xz openembedded-core-ffdec425bfb26e152d1da5824a36dfe1fe72cd92.zip |
bitbake/bitbake-dev: Sync with upstream
Diffstat (limited to 'bitbake-dev/lib/bb/fetch/svn.py')
-rw-r--r-- | bitbake-dev/lib/bb/fetch/svn.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake-dev/lib/bb/fetch/svn.py b/bitbake-dev/lib/bb/fetch/svn.py index 5e5b31b3a..aead1629b 100644 --- a/bitbake-dev/lib/bb/fetch/svn.py +++ b/bitbake-dev/lib/bb/fetch/svn.py @@ -114,13 +114,15 @@ class Svn(Fetch): if command is "info": svncmd = "%s info %s %s://%s/%s/" % (basecmd, " ".join(options), proto, svnroot, ud.module) else: + suffix = "" if ud.revision: options.append("-r %s" % ud.revision) + suffix = "@%s" % (ud.revision) elif ud.date: options.append("-r {%s}" % ud.date) if command is "fetch": - svncmd = "%s co %s %s://%s/%s %s" % (basecmd, " ".join(options), proto, svnroot, ud.module, ud.module) + svncmd = "%s co %s %s://%s/%s%s %s" % (basecmd, " ".join(options), proto, svnroot, ud.module, suffix, ud.module) elif command is "update": svncmd = "%s update %s" % (basecmd, " ".join(options)) else: |