[Anthill-pro] AHP3 subversion checkout from tag

Shannon Kohl skohl at quova.com
Fri Aug 3 16:06:27 CDT 2007


Anthill Pro 3.3.1.b162 does not seem to be doing the right thing to  
checkout from a tag in Subversion. I get:
Subversion command line: /usr/local/bin/svn log --non-interactive -- 
verbose --username myuser --password ***** --revision {2007-08-03  
20:02:29 +0000}:{2007-08-03 20:02:34 +0000} /qa2
Subversion command working Directory: /Users/quova/Agents/bin
Subversion XML changelog file path: /Users/quova/Agents/var/jobs/205/ 
changelog/change-log-0.xml
Subversion command environment:
subversion/libsvn_wc/lock.c:377: (apr_err=155007)
svn: '/' is not a working copy
command exit status: 1
change-log-summary: com.urbancode.vcsdriver3.ChangeLogSummary {
   changeSetCount:      0
   changeCount:         0
   latestChangeSetUser: null
   latestChangeSetDate: 1969-12-31 16:00:00 -0800
}

I tried various configurations and all got similar errors to above.  
Notice that it does not include the URL (base or source) anywhere,  
even though both the base URL and the source URL are set correctly.  
"qa2" is the correct tag value.  (I've tried both adding and removing  
the /tags portion to the source URL, but both ways failed with the  
above problem.)

When I check this out from Eclipse / subclipse I get a command of  
"checkout -r HEAD http://<baseURL>/<sourceURL>/tags/<tagValue>" where  
the values correspond to what is entered into Anthill. It of course  
works.

I also don't understand why the "--revision" argument. A tag should  
not have any revisions? Maybe this is something I don't understand  
about how subversion works or is a defensive tactic?

What I need:
I want QA builds to be built from a tag. If there is a way to do this  
correctly using the standard src config that is great. I see from the  
list archives that there may be some assumptions that Anthill makes  
about how your subversion repository is laid out. It wasn't clear to  
me how to change my layout to fix the above problem (and it doesn't  
look like the same problem anyway).

One possibility is to be able to enter the URL be generated with  
properties replacement variables like:
http://<baseURL>/<sourceURL>/tags/${property:QATag}

This would allow just about any subversion configuration. (For  
instance I would like to separate the dev tags from the qa tags from  
the release tags, so you cannot assume a .../tags/... somewhere in my  
URL when I am checking out from a tag.)

Any suggestions / pointers to help would be appreciated.

Thanks,
--Shannon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20070803/b93f8078/attachment.htm


More information about the Anthill-pro mailing list