Re: pvcs problem
varban <[email protected]> Thu, 04 Jan 2007 17:02:23 -0500
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
Hi Peter, I am guessing that you are using AnthillOS (based on the mailing list...) and if this is the case you can create a small script that would take the temp file and rewrite it with the necessary \ and then have AnthillOS run that script before the vlog command (for that you will need to modify the getRevisions.pgl file for the pvcs adapter). The script could be written in anything as long as you can execute the script from command line (even VB). Regards, Varban Peter Tung wrote: > Hi all, > > I realized that this is more a PVCS or OS level problem, but I'm hoping that > I'd get a faster response here... > > We're running anthill on a Win2K box using PVCS as our version management > software. It's been working fine until recently we started using network > name directly instead of a mapped drive... for example, our old PVCS archive > location for one file was Z:\pvcs\index.html-arc, but now it's > \\pvcssvr\pvcs\index.html-arc. > > In anthill revision log, it writes all the files into file.tmp then runs > vlog command against file.tmp in order to get the revision notes, but > whenever vlog is run against file.tmp, I'd get "cannot locate archive" > message because it parsed the double slash into a single slash. In the > above example, I'd get this message: > > vlog: warning, cannot locate archive "\pvcssvr\pvcs\index.html-arc". > > I believe the double slash is escaped character for the single slash, and I > don't know anyway to build file.tmp so that the file paths show up correctly > (with \\\\ instead of \\, which apparently fixes this problem). Has anyone > encountered this before? Is there any way to get around this problem? Any > help is greatly appreciated. > > On a side note, happy new year to all. > > > > Peter Tung > > HBF Group, Inc. > 700 Lavaca St., Suite 1200 > Austin, TX 78701 > TEL 512.481.0911 x120 > FAX 512.481.0917 > ptung-U+hLzl9EHURWk0Htik3J/[email protected] > > > _______________________________________________ > Anthill mailing list > Anthill-IWHQxnLZ/[email protected] > http://lists.urbancode.com/mailman/listinfo/anthill