Login | Register
My pages Projects Community openCollabNet

Discussions > Issues > [Issue 32] New - repoguard not working in windows

repoguard
Discussion topic

Back to topic list

[Issue 32] New - repoguard not working in windows

Author bmareal
Full name bruno areal
Date 2011-02-24 10:34:20 PST
Message http://repoguard.tig​ris.org/issues/show_​bug.cgi?id=32
                 Issue #|32
                 Summary|repoguard not working in windows
               Component|repoguard
                 Version|0.2.0
                Platform|PC
              OS/Version|Windows NT
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|repoguard
             Assigned to|issues@repoguard
             Reported by|bmareal






------- Additional comments from bmareal at tigris dot org Thu Feb 24 10:34:20 -0800 2011 -------
I’ve installed and configured repoguard in order to perform some checkstyle
validations has precommit conditions to our svn server (win 2k8 64bit).

However, when I try to commit a file, i’m obtaining the following message:

Commit failed (details follow):

Commit blocked by pre-commit hook (exit code 1) with output:

ERROR:repoguard.tool​s.checker:IOError exception cause: 'Config file not found:
"~\.repoguard\repoguard.conf".'

Traceback (most recent call last):

  File "build\bdist.win32​egg\repoguard\too​ls\checker.py", line 115, in checker

    main_config = RepoGuardConfig(cons​tants.CONFIG_PATH)

  File "build\bdist.win32​egg\repoguard\cor​e\config.py", line 60, in __init__

    write_empty_values=True, encoding='UTF-8', interpolation='template'

File "C:\csvn\Python25​Lib\site-packages​configobj.py", line 1242, in __init__

    self._load(infile, configspec)

  File "C:\csvn\Python25​Lib\site-packages​configobj.py", line 1254, in _load

    raise IOError('Config file not found: "%s".' % self.filename)

IOError: Config file not found: "~\.repoguard\repoguard.conf".

Given that this is a windows machine, and I’ve created the repoguard.conf file
in the hooks folder, it appears that there’s something wrong with repoguard,
given that "~\.repoguard\repoguard.conf" appears to be a linux path… :)

Thank you for your time.

« Previous message in topic | 1 of 7 | Next message in topic »

Messages

Show all messages in topic

[Issue 32] New - repoguard not working in windows bmareal bruno areal 2011-02-24 10:34:20 PST
     [Issue 32] repoguard not working in windows bmareal bruno areal 2011-02-24 10:37:35 PST
         RE: [Issue 32] repoguard not working in windows bmareal bruno areal 2011-02-25 07:16:39 PST
     [Issue 32] repoguard not working in windows schlauch Tobias Schlauch 2011-02-28 04:57:00 PST
         RE: [Issue 32] repoguard not working in windows bmareal bruno areal 2011-03-01 03:09:31 PST
     [Issue 32] repoguard not working in windows schlauch Tobias Schlauch 2012-01-30 03:09:08 PST
     [Issue 32] repoguard not working in windows schlauch Tobias Schlauch 2012-08-07 04:07:28 PDT
Messages per page: