[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Feature suggestion: determination of the subversion commit number for a directory (over DAV without svn clients involved)

From: Paul Hammant <paul_at_hammant.org>
Date: Wed, 13 Dec 2017 07:33:21 -0500

One can use WebDAV's PROPFIND to list the contents of a directory in
Subversion. You won't be told the Subversion revision for any of the
directory results however, but you will for the file items in the result

You have to do an OPTIONS and a PROPFIND call for each directory one at a
time to get the revision numbers for directories - see here:
(method get getSvnRevision).

Can the XML response of PROPFIND be enhanced to have an extra element that
reports the revision number to the caller? That way one could do a single
PROPFIND (even a depth=infinity one, subject to config) and get back all
the Subversion revision numbers for all the directories with the result set.

Some operations report a revision number that appears a first glance to be
for the directory, but it is actually the revision number of the root of
the repo. While that is useful too, it isn't what I'm after here.

Permission to add a Jira issue to track this, after due discussion here of

- Paul

Paul Hammant DevOps <https://devops.paulhammant.com> Let me give your
enterprise a step by step plan to get out of the hell of crazy branching
models (ClearCase maybe?) and into the world of high-throughput CD on
DevOps foundations.
Received on 2017-12-13 13:33:27 CET

This is an archived mail posted to the Subversion Dev mailing list.