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

[PATCH] Updating exclusively opened files locks working copy

From: D.J. Heap <djheap_at_gmail.com>
Date: 2006-07-29 22:12:11 CEST

Are there any objections to this patch? It solves a problem where the
working copy ends up locked (requiring a 'svn cleanup') after an
update fails because a file being updated is exclusively opened by
another application.

Log:
Test early for other applications holding files open exclusively so
that we can prevent
a cleanup being required when the update would fail later in log processing.

* subversion/libsvn_wc/update_editor.c
  (add_or_open_file): Attempt to temporarily open the file being updated.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sat Jul 29 22:12:38 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.