- Timestamp:
- Apr 20, 2011, 11:11:25 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/_UpdateRev.groovy
r531 r890 114 114 return fail(code:"vcs.working.copy.not.found", args:[basedir]) 115 115 116 // Use svnkit to get the baserevision.116 // Use svnkit to get the last committed revision. 117 117 def clientManager = SVNClientManager.newInstance() 118 118 def wcClient = clientManager.getWCClient() 119 119 try { 120 result.revision = wcClient.doInfo(wc, SVNRevision.BASE).get Revision().toString()120 result.revision = wcClient.doInfo(wc, SVNRevision.BASE).getCommittedRevision().toString() 121 121 } 122 122 catch(org.tmatesoft.svn.core.SVNException e) {
Note: See TracChangeset
for help on using the changeset viewer.