pkg-download: fix svn download for deleted path
authorRyan Barnett <ryan.barnett@rockwellcollins.com>
Thu, 26 Jun 2014 13:17:39 +0000 (08:17 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 29 Jun 2014 08:42:51 +0000 (10:42 +0200)
commitfa9f824c3824ef41f6c377297f8bfe9a7b763ca6
treeb8d15bc707ff1cbe4b814d04332f8ffbf2f3fc04
parentc90c5fafd3d427909787e1867ad0a54aff8b7eb1
pkg-download: fix svn download for deleted path

If a SVN path has been deleted in a future revision, downloading a
package's source will fail using 'svn checkout -r'. Fix using
URL@REV syntax since the SVN command will then verify the path at the
specified version. Without using the URL@REV syntax, the SVN command
will attempt to verify the path exists on the the HEAD revision before
checking out the path at the specified revision.

Error seen if SVN path has been deleted in HEAD using svn checkout -r:
  svn: E160013: '/svn/path/' path not found

Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pkg-download.mk