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

url scheme for subversion changesets?

From: J. Patrick Bedell <jpb_at_infoeng.org>
Date: 2005-11-29 21:21:17 CET

Hello,
         I am trying to figure out a URL scheme to specify specific
changesets from a subversion repository, and I'm writing for some
suggestions. The simple procedure that I am using is to use the url
specifying the file in question, and append the query string
parameter "changeset".

         To use a concrete example, I am processing the diff produced by
the command
"svn diff -r 41550:41551 http://svn.python.org/projects/python/trunk".
There are three modified files in this changeset: Misc/NEWS,
Lib/idlelib/EditorWindow.py, and Lib/idlelib/IOBinding.py.
Using the simple URL scheme above, these become the URLs

http://svn.python.org/projects/python/trunk/Misc/NEWS?changeset=41551
http://svn.python.org/projects/python/trunk/Lib/idlelib/EditorWindow.py?changeset=41551
http://svn.python.org/projects/python/trunk/Lib/idlelib/IOBinding.py?changeset=41551

         Does anyone have a recommendation for how to specify a subversion
changeset with a URL? Any suggestions at all will be welcome. Thanks!

         Patrick
         jpb@infoeng.org

P.S.:
         This is the RDF file that I am using to represent this changeset,
with the base64-encoded SHA-1 digest value of the diff text for each file,
omitting the subversion prologue. That is, the digest value
TbQM5XUm0Ohsim3vz+u6nxmqxYQ= for
http://svn.python.org/projects/python/trunk/Misc/NEWS?changeset=41551 is
calculated from the lines

------- begin diff text --------
--- Misc/NEWS (revision 41550)
+++ Misc/NEWS (revision 41551)
@@ -287,6 +287,8 @@
  Library
  -------

+- Patch #1162825: Support non-ASCII characters in IDLE window titles.
+
  - Bug #1365984: urllib now opens "data:" URLs again.

  - Patch #1314396: prevent deadlock for threading.Thread.join() when an
exception
------- end diff text --------
, and likewise for the other diff chunks in the "svn diff output".

<rdf:RDF xmlns:in="http://infoeng.org/2005/10/infoeng#"
          xmlns:dc="http://purl.org/dc/elements/1.1/"
          xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
   <rdf:Description rdf:About="http://svn.python.org/projects/python/trunk?changeset=41551">
     <dc:identifier>http://svn.python.org/projects/python/trunk</dc:identifier>
   </rdf:Description>
   <rdf:Description rdf:About="http://svn.python.org/projects/python/trunk/Misc/NEWS?changeset=41551">
     <in:SHA1DigestValue>TbQM5XUm0Ohsim3vz+u6nxmqxYQ=</in:SHA1DigestValue>
   </rdf:Description>
   <rdf:Description rdf:About="http://svn.python.org/projects/python/trunk/Lib/idlelib/EditorWindow.py?changeset=41551">
     <in:SHA1DigestValue>LEHRXvHaJ0jtdQh4IKXavvaM91s=</in:SHA1DigestValue>
   </rdf:Description>
   <rdf:Description rdf:About="http://svn.python.org/projects/python/trunk/Lib/idlelib/IOBinding.py?changeset=41551">
     <in:SHA1DigestValue>w/NXSBeDEYTa7XlDj3M8gb35ez8=</in:SHA1DigestValue>
   </rdf:Description>
</rdf:RDF>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 29 21:11:07 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.