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

backgrounding 'svn log' over serf

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Wed, 19 Dec 2012 20:53:13 +0200

With trunk_at_HEAD and serf-1.2.x_at_HEAD (r1707), I tried to background an
'svn log':

[[[
% $svn log --search stefan2 --search-and truncate
------------------------------------------------------------------------
r1398509 | stefan2 | 2012-10-15 20:53:19 +0000 (Mon, 15 Oct 2012) | 12 lines

Fix more int conversion-related warning.

* subversion/libsvn_fs_fs/temp_serializer.c
  (svn_fs_fs__serialize_mergeinfo,
   svn_fs_fs__deserialize_mergeinfo): use matching data types for
   iteration variables
* subversion/svnrdump/load_editor.c
  (new_node_record): ditto
* subversion/libsvn_subr/cache-membuffer.c
  (find_entry): ditto
  (svn_cache__membuffer_cache_create): prevent "constant truncated" warning

^Z
zsh: suspended $svn log --search stefan2 --search-and truncate
% bg
[1] + continued $svn log --search stefan2 --search-and truncate
% subversion/svn/log-cmd.c:870: (apr_err=4)
subversion/libsvn_client/log.c:620: (apr_err=4)
subversion/libsvn_ra_serf/log.c:607: (apr_err=4)
subversion/libsvn_ra_serf/util.c:819: (apr_err=4)
subversion/libsvn_ra_serf/util.c:786: (apr_err=4)
svn: E000004: Error running context: Interrupted system call

[1] + exit 1 $svn log --search stefan2 --search-and truncate
]]]

Actual result: backgrounding svn killed it.

Expected result: after 'bg\n', keep fetching+filtering+printing log
messages in the background.

It worked in 1.7 with neon. Can we make it work in 1.8 too?
Received on 2012-12-19 19:54:06 CET

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