Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 8] New - commit2db.pl does not catch errors reported from svnlook - resulting in bogus entries in db

kamikaze-qscm
Discussion topic

Back to topic list

[Issue 8] New - commit2db.pl does not catch errors reported from svnlook - resulting in bogus entries in db

Author jduprey
Full name John Duprey
Date 2004-09-21 20:02:14 PDT
Message http://kamikaze-qscm​.tigris.org/issues/s​how_bug.cgi?id=8
                  Issue #:|8
                  Summary:|commit2db.pl does not catch errors reported from
                          |svnlook - resulting in bogus entries in db
                Component:|kamikaze-qscm
                  Version:|0.1 Initial Release
                 Platform:|All
               OS/Version:|All
                      URL:|
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P2
             Subcomponent:|hooks
              Assigned to:|jduprey
              Reported by:|jduprey






------- Additional comments from jduprey at tigris dot org Tue Sep 21 20:02:13 -0700 2004 -------
commit2db.pl does not catch errors reported from svnlook - resulting in bogus entries in db

For example a user name was being inserted in the DB as follows:
User: "./commit2db.pl: `/usr/bin/svnlook info /home/svnroot/dtacs -r 1676'
failed with this output:(/home/svnroot/dtacs)"

Executing this command revealed svnlook reports errors:

-sh-2.05b$ /usr/bin/svnlook info /home/svnroot/dtacs -r 1676
u0212726
2004-01-15 13:11:08 -0500 (Thu, 15 Jan 2004)
svn: Inconsistent line-endings in source stream

-sh-2.05b$ /usr/bin/svnlook info /home/svnroot/dtacs -r 1683
u0212726
2004-01-15 18:21:25 -0500 (Thu, 15 Jan 2004)
svn: Inconsistent line-endings in source stream

-sh-2.05b$ /usr/bin/svnlook info /home/svnroot/dtacs -r 1686
u0212726
2004-01-16 18:55:57 -0500 (Fri, 16 Jan 2004)
svn: Inconsistent line-endings in source stream

Catch these errors and at the very least, don't insert these entries.

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: issues-unsubscribe@k​amikaze-qscm.tigris.​org
For additional commands, e-mail: issues-help@kamikaze​-qscm.tigris.org

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

Messages

Show all messages in topic

[Issue 8] New - commit2db.pl does not catch errors reported from svnlook - resulting in bogus entries in db jduprey John Duprey 2004-09-21 20:02:14 PDT
Messages per page: