Bug 191132 - net/svnup can checkout only if repository is published in the root
Summary: net/svnup can checkout only if repository is published in the root
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-17 17:24 UTC by Andrew
Modified: 2014-10-05 21:15 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew 2014-06-17 17:24:29 UTC
By using a custom svnsync'ed FreeBSD base repository we noticed that svnup is unable to get its contents, while other tools (svn, svnlite) works without problems.

For example, if the custom repository is published under http://mysvnserver/repos/freebsd-base, here is the svnup verbose output:

# Revision: 267104
# Protocol: http
# Address: mysvnserver
# Port: 80
# Branch: repos/freebsd-base/releng/9.2
# Target: /usr/src
# Trim tree: No
# Show extra files: No
# Known files directory: /var/tmp/svnup
<< 570 bytes
REPORT /repos/!svn/me HTTP/1.1
Host: mysvnserver
User-Agent: svnup-1.05
Content-Type: text/xml
DAV: http://subversion.tigris.org/xmlns/dav/svn/depth
DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops
Transfer-Encoding: chunked

fb
<S:update-report xmlns:S="svn:">
<S:src-path>/repos/freebsd-base/releng/9.2</S:src-path>
<S:target-revision>267104</S:target-revision>
<S:depth>unknown</S:depth>
<S:entry rev="267104" depth="infinity" start-empty="true"></S:entry>
</S:update-report>


No problem when the repository is accessible under the root path (for example, http://mysvnserver/freebsd-base).

Coding is not my job, but I tried to produce a patch. Unfortunately I only managed to move the error one-step away (it breaks on the GET phase). Let me know if I can help by detailing some aspects.

Thanks.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-06-25 02:18:18 UTC
Notify maintainer.
Comment 2 John Marino freebsd_committer 2014-08-11 10:57:37 UTC
jcm, anything to add?
Comment 3 commit-hook freebsd_committer 2014-09-10 19:00:18 UTC
A commit references this bug:

Author: jgh
Date: Wed Sep 10 19:00:00 UTC 2014
New revision: 367880
URL: http://svnweb.freebsd.org/changeset/ports/367880

Log:
  - update to 1.06 [1]

  PR:		191132
  Submitted by:	andrew.hotlab@hotmail.com, jcm@visi.com (maintainer) [1]

Changes:
  head/net/svnup/Makefile
  head/net/svnup/distinfo