[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Bug: Control char in commit message

From: Andreas J. Koenig <andreas.koenig_at_anima.de>
Date: 2002-12-04 11:13:51 CET

This one took me days to track down. Although some might argue, it's a
misuse, it's actually so easy to fall into the trap that I'd call it a
serious bug.

Note, that the 'foo ^H bar' message below contained a literal
Control-H (0x08):

% echo foo > foo
% svn add foo
A foo
% svn ci -m 'foo ^H bar'
subversion/libsvn_client/commit.c:655: (apr_err=175002, src_err=0)
svn: RA layer request failed
svn: Commit failed (details follow):
subversion/libsvn_ra_dav/util.c:81: (apr_err=175002, src_err=0)
svn: applying log message to /svn/test/!svn/wbl/84abf719-f6b0-0310-847f-9d47c53dd84d/0: 400 Bad Request

For people who do not enter a commit message manually but take it from
a file it just happens too easily. So either it must be documented as
a restriction or fixed.

Let me know if I shall file an issue about it.

Thanks,

-- 
andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 4 11:14:37 2002

This is an archived mail posted to the Subversion Dev mailing list.