RE: [viewvc-users] MySQL DB is not getting updated
Ravi K Pattalachinti <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <8FAB309499DDCD4089AFCB82097125793C3CDDD0@NAMAIL02.gs.adinternal.com> |
I added your code but looks like python is not able to find the repository. I looked at the viewvc.conf file and it looked ok to me. Is there any other file that requires modification? I do have 'svn' and 'libsvn' folders located under C:\Python26\Lib\site-packages. I used 'MySQL-python-1.2.2.win32-py2.6.exe' for bindings from the following location. http://sourceforge.net/projects/mysql-python/forums/forum/70460/topic/2316047 ::::viewvc.conf:::: ... ... svn_roots = svn: c:\Repositories\SVN root_parents = c:\Repositories\ : svn #svn_path = /usr/bin/ ... ////////tortoise error ///////////////////////////////// completed: At revision: 104075 Error: post-commit hook failed (exit code 1) with output: Error: c:\Python26\lib\site-packages\MySQLdb\__init__.py:34: DeprecationWarning: the sets module is deprecated Error: from sets import ImmutableSet Error: ERROR: could not find repository C:\Repositories\SVN //////////////////////////////////////////// -----Original Message----- From: C. Michael Pilato [mailto:[email protected]] Sent: Tuesday, February 09, 2010 11:25 AM To: Pattalachinti, Ravi Cc: [email protected] Subject: Re: [viewvc-users] MySQL DB is not getting updated You're trying to use Unix shell syntax ("$REPOS") in a Windows batch file. Try something like: SET REPOS=%1 SET REV=%2 C:\Python26\python.exe "C:\Program Files (x86)\viewvc-1.0.9\bin\svndbadmin" update "%REPOS%" "%REV%" -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Distributed Development On Demand ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2446217 To unsubscribe from this discussion, e-mail: [[email protected]].