Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3758

svn-dev.el - Update paths and links

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 1.7.0
    • tools
    • None

    Description

      Patch Submitted by : Noorul Islam K M
      
      Log 
      
      [[[
      
      Update paths and links
      
      * tools/dev/svn-dev.el
       (svn-site-source-tree-top): Rename svn-source-tree-top as
       svn-site-source-tree-top as now the web site code resides in a
       separate location. Update doc string.
       (svn-faq-file, svn-faq-file, svn-url-base, svn-hacking-url): Update
       location
      
      ]]]
      
      Index: tools/dev/svn-dev.el
      ===================================================================
      --- tools/dev/svn-dev.el	(revision 1032461)
      +++ tools/dev/svn-dev.el	(working copy)
      @@ -152,15 +152,18 @@
      ;;; Net if you don't have a local copy, but it requires a very recent
      ;;; version of Emacs, so I didn't bother with it here.  -kfogel)
      
      -(defvar svn-source-tree-top (expand-file-name "~/projects/svn/")
      -  "*Top directory of your Subversion source tree.  You almost
      -certainly want to set this in your .emacs, to override the default;
      -use `(setq svn-source-tree-top \"/path/to/the/tree\")'.")
      +(defvar svn-site-source-tree-top (expand-file-name "~/projects/svn/site/")
      +  "*Top directory of your Subversion site source tree of
      +repository \"http://svn.apache.org/repos/asf/subversion/site\".
      +You almost certainly want to set this in your .emacs, to override
      +the default; use `(setq svn-site-source-tree-top
      +\"/path/to/the/site/tree\")'.")
      
      -(defvar svn-faq-file (concat svn-source-tree-top "/www/faq.html")
      +(defvar svn-faq-file (concat svn-site-source-tree-top "/publish/faq.html")
        "*A local copy of the Subversion FAQ.")
      
      -(defvar svn-hacking-file (concat svn-source-tree-top "/www/hacking.html")
      +(defvar svn-hacking-file (concat svn-site-source-tree-top 
      +                                 "/docs/community-guide/community-guide.html")
        "*A local copy of the Subversion hacking.html file.")
      
      ;; Helper for referring to issue numbers in a user-friendly way.
      @@ -188,11 +191,13 @@
                   (start (car bounds))
                   (end   (cdr bounds)))
              (delete-region start end)))
      -  (insert (format "http://svn.collab.net/viewcvs/svn?rev=%s&view=rev" rev)))
      +  (insert (format "http://svn.apache.org/viewcvs?view=revision&revision=%s" 
      +                  rev)))
      
      -(defconst svn-url-base "http://subversion.tigris.org/")
      +(defconst svn-url-base "http://subversion.apache.org/")
      (defconst svn-faq-url (concat svn-url-base "faq.html"))
      -(defconst svn-hacking-url (concat svn-url-base "hacking.html"))
      +(defconst svn-hacking-url (concat svn-url-base 
      +                                  "docs/community-guide/community-guide.html"))
      
      (defun svn-html-get-targets (file)
        "Build a list of targets for the Subversion web file FILE."
      

      http://svn.haxx.se/dev/archive-2010-11/0148.shtml

      Original issue reported by gavinbaumanis

      Attachments

        1. 1_svn-dev.el.txt
          2 kB
          Subversion Importer

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: