Login | Register
My pages Projects Community openCollabNet

Discussions > Issues > [Issue 46] New - The RepoGuard precommit/postcommit tools should allow the usage of the HEAD revision.

repoguard
Discussion topic

Back to topic list

[Issue 46] New - The RepoGuard precommit/postcommit tools should allow the usage of the HEAD revision.

Author schlauch
Full name Tobias Schlauch
Date 2012-09-12 07:58:00 PDT
Message http://repoguard.tig​ris.org/issues/show_​bug.cgi?id=46
                 Issue #|46
                 Summary|The RepoGuard precommit/postcommit tools should allow
                        |the usage of the HEAD revision.
               Component|repoguard
                 Version|0.1.0
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|FEATURE
                Priority|P3
            Subcomponent|repoguard
             Assigned to|issues@repoguard
             Reported by|schlauch






------- Additional comments from schlauch at tigris dot org Wed Sep 12 07:58:00 -0700 2012 -------
This would be useful if the tool ist used stand-alone.
Currently there are two problems:
- RepoGuard things it is an transaction.
- svnlook cannot use the keyword "HEAD" like other SVN tools

ProcessException exception cause: 'Command 'svnlook --transaction HEAD changed "c:\svn_repository​WerkzeugSuite"
' exited with exit_code 1:
svnlook: E160007: No such transaction 'HEAD'

'
Traceback (most recent call last):
  File "c:\python24\lib\​site-packages\repog​uard-0.3.0.dev_r124-​py2.4.egg\repoguard​\tools\checker.py"​,
line 123, in checker
    result = repoguard.run()
  File "c:\python24\lib\​site-packages\repog​uard-0.3.0.dev_r124-​py2.4.egg\repoguard​\core\checker.py",​
line 139, in run
    if not self.transaction.get​_files(ignore_list=i​gnores):
  File "c:\python24\lib\​site-packages\repog​uard-0.3.0.dev_r124-​py2.4.egg\repoguard​\core\transaction.​py",
line 106, in get_files
    output = self._execute_svn("changed", split=True)
  File "c:\python24\lib\​site-packages\repog​uard-0.3.0.dev_r124-​py2.4.egg\repoguard​\core\transaction.​py",
line 61, in _execute_svn
    output = process.execute(command)
  File "c:\python24\lib\​site-packages\repog​uard-0.3.0.dev_r124-​py2.4.egg\repoguard​\core\process.py",​
line 80, in execute
    raise ProcessException(command, exit_code, output)
ProcessException: Command 'svnlook --transaction HEAD changed "c:\svn_repository​WerkzeugSuite"
' exited with exit_code 1:
svnlook: E160007: No such transaction 'HEAD'

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

Messages

Show all messages in topic

[Issue 46] New - The RepoGuard precommit/postcommit tools should allow the usage of the HEAD revision. schlauch Tobias Schlauch 2012-09-12 07:58:00 PDT
     [Issue 46] The RepoGuard precommit/postcommit tools should allow the usage of the HEAD revision. schlauch Tobias Schlauch 2012-09-12 12:50:23 PDT
     [Issue 46] The RepoGuard precommit/postcommit tools should allow the usage of the HEAD revision. schlauch Tobias Schlauch 2012-09-12 12:53:29 PDT
Messages per page: