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

Right place for cleaning up entries fields on delete

From: Ivan Zhakov <chemodax_at_gmail.com>
Date: 2005-09-22 15:57:08 CEST

I am fixing deletion of replaced files in working copy (in
wc-replacements branch). When file replaced it has copyfrom-url,
copyfrom-rev and copied fields set. But when file gets deleted these
fields should be cleared, am I right?
Next question where this logic should be implemented. I have found two
places where this could be done:
1. In subversion/libsvn_wc/adm_ops:svn_wc_delete2() when we going to
modify schedule field also modify copyfrom-url and copyfrom-rev
2. Another place that I found is
subversion/libsvn_wc/entries.c:fold_scheduling(). In this place
already implemented similiar logic for discard entry on delete if
before it was added.

Ivan Zhakov
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 22 15:57:58 2005

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.