SVN DCommit not working

549 views
Skip to first unread message

WvV

unread,
Oct 1, 2012, 6:14:49 AM10/1/12
to torto...@googlegroups.com
Hi,

I'm trying to do a SVN DCommit on a project that was previously checkout from the same local SVN Repo, and get this error, after the prompt for my password:

git.exe svn dcommit

Committing to http://svn.sercom/repos/cpp-pc/SercoVision/trunk ...
Authentication realm: <http://svn.sercom:80> Write access requires a password
Authentication realm: <http://svn.sercom:80> Write access requires a password
Username: Use of uninitialized value in chomp at /usr/lib/perl5/site_perl/Git/SVN/Prompt.pm line 114.
0 [main] perl.exe" 5076 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
358 [main] perl.exe" 5076 open_stackdumpfile: Dumping stack trace to perl.exe.stackdump

git did not exit cleanly (exit code -1)

Contents of perl.exe.stackdump:

MSYS-1.0.12 Build:2011-07-20 17:52
Exception: STATUS_ACCESS_VIOLATION at eip=66DC6708
eax=00000000 ebx=0A721288 ecx=0A279008 edx=00000000 esi=00000008 edi=00000000
ebp=0028F27C esp=0028F254 program=C:\Program Files (x86)\Git\bin\perl.exe
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame     Function  Args
0028F27C  66DC6708  (0A240F5C, 00000001, 0028F2DC, 67853E41)
0028F2DC  67853F7C  (00D725E8, 00CB0000, 0028F2FC, 677F8E00)
0028F2EC  6784DD34  (0A76D520, 0A76D520, 0028F47C, 677F3F28)
0028F2FC  677F8E00  (0028F45C, 00000000, 0028F47C, 677F3E1E)
0028F47C  677F3F28  (0A721288, 00000000, 66DF00D4, 00000000)
0028F4CC  67C93064  (00000001, 0A721288, 00000000, 67C943C6)
0028F51C  67C94468  (0028F60C, 0A721288, 0A02A408, 00000000)
0028F57C  67CCA205  (0028F60C, 0A0191F8, 0A019380, 0A02A408)
0028F5BC  67CCA36E  (0028F60C, 0A759D80, 0A0191F8, 0A019380)
0028F61C  67CB1554  (0028F650, 0A02A3E8, 0A02A0E8, 6802CD30)
0028F65C  67DA10C9  (0A02A298, 0A76D298, 00000001, 0A759430)
0028F69C  67EEB692  (0A759418, 0028F6BC, 0A76236D, 6805B0D4)
0028F7CC  67EEB75C  (0A759418, 0A762398, 0A762366, 0A76236D)
0028F81C  67EED330  (0A759418, 0A7620D8, 00000191, 67EE271F)
0028F85C  67EED83F  (0A76A4D8, 0A759418, 0A76C5D4, 67EE40A8)
0028F89C  67EE3ED6  (0A76A4D8, 00000001, 0028F8DC, 67EF030D)
End of stack trace (more stack frames may be present)

Is this a bug or a configuration issue?

I'm using: Git-1.7.11-preview20120710.exe and TortoiseGit-1.7.13.0-64bit.msi

WvV

unread,
Oct 15, 2012, 10:43:50 AM10/15/12
to torto...@googlegroups.com
I did some more testing with 1.7.14

If I add the following to .git/config:

[svn]
  username = wilfred

(Found some reference to this in issue: https://code.google.com/p/tortoisegit/issues/detail?id=1319)
 
I still can't authenticate, but the exception is gone:

~~~

git.exe svn dcommit

Committing to http://svn.sercom/repos/cpp-pc/SercoVision/trunk ...
Authentication realm: <http://svn.sercom:80> Write access requires a password
Authentication realm: <http://svn.sercom:80> Write access requires a password
Authentication realm: <http://svn.sercom:80> Write access requires a password
Authorization failed: MKACTIVITY of '/repos/cpp-pc/!svn/act/4f5fcee0-16ca-11e2-9ac5-b22e57d7c135': authorization failed (http://svn.sercom) at /usr/lib/perl5/site_perl/Git/SVN/Editor.pm line 28


git did not exit cleanly (exit code 1) (16614 ms @ 2012-10-15 15:15:06)
~~~

And I'm sure I'm using the right password!

Doing a commandline dcommit, does authenticate, and starts the dcommit, untill there is an exception:

~~~
$ git svn dcommit --username=wilfred
[...]
      0 [main] perl.exe" 5676 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
    385 [main] perl.exe" 5676 open_stackdumpfile: Dumping stack trace to perl.exe.stackdump
~~~

After this the dcommit through the TortoiseGit interface also seems to work, but I noticed my password is in plain text in the file:
c:\Users\Wilfred\.subversion\auth\svn.simple\8649a9d207a15b4d15bb7dddfdc178d1

Reply all
Reply to author
Forward
0 new messages