~ubuntu-branches/ubuntu/saucy/statsvn/saucy

« back to all changes in this revision

Viewing changes to src/net/sf/statsvn/output/ChoraIntegration.java

  • Committer: Bazaar Package Importer
  • Author(s): Vincent Fourmond
  • Date: 2008-06-28 15:53:07 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080628155307-sw2xqeigkk4zwlxm
Tags: 0.4.0.dfsg-1
* New upstream version (closes: #481799)
* Does not work with older statcvs, tightening up dependencies
* statsvn still complains about files with spaces within, but
  it does not seem to affect statistics anymore, so it 
  closes: #469937,#469938

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
        public String getFileHistoryUrl(final VersionedFile file) {
71
71
                // chora doesn't seem to support deleted files for subversion
72
72
                // repositories
73
 
//              if (isInAttic(file)) {
74
 
                        // String path = file.getDirectory().getPath();
75
 
                        // String filename = file.getFilename();
76
 
                        // return baseURL + "/" + path + "Attic/" + filename;
77
 
//              }
 
73
                //              if (isInAttic(file)) {
 
74
                // String path = file.getDirectory().getPath();
 
75
                // String filename = file.getFilename();
 
76
                // return baseURL + "/" + path + "Attic/" + filename;
 
77
                //              }
78
78
                return this.baseURL + "/?f=" + file.getFilenameWithPath();
79
79
        }
80
80
 
105
105
                }
106
106
 
107
107
                return this.baseURL + "/diff.php?f=" + oldRevision.getFile().getFilenameWithPath() + "&r1=" + oldRevision.getRevisionNumber() + "&r2="
108
 
                                + newRevision.getRevisionNumber() + "&ty=h";
 
108
                        + newRevision.getRevisionNumber() + "&ty=h";
109
109
        }
110
110
 
111
111
        /**
112
112
         * @see net.sf.statsvn.output.WebRepositoryIntegration#setAtticFileNames(java.util.Set)
113
113
         */
114
114
        public void setAtticFileNames(final Set atticFileNames) {
115
 
//              this.atticFileNames = atticFileNames;
 
115
                //              this.atticFileNames = atticFileNames;
116
116
        }
117
117
 
118
 
//      private boolean isInAttic(final VersionedFile file) {
119
 
//              return atticFileNames.contains(file.getFilenameWithPath());
120
 
//      }
 
118
        public String getBaseUrl() {
 
119
                return baseURL;
 
120
        }
121
121
}