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

[PATCH] First crack at issue 571

From: Chris AtLee <catlee_at_sidefx.com>
Date: 2004-11-18 19:05:27 CET

I thought I'd take a crack at finishing up issue 571 - outputting "R"
instead of "D" + "A" when a file is replaced. Attached are my changes
to notify.c.

Basically what it does is when it receives an update_delete
notification, it saves the path that was deleted and doesn't print
anything out. If the next notification is an addition of the same path
then it prints out "R", otherwise it prints out the "D" as usual plus
whatever other output the next notification generates.

The only problem that I could see with this is that if the update_delete
notification were to be the last action, then the delete notification
wouldn't be printed out. But it looks like update_completed is sent at
the end up every update, so this shouldn't be a problem.

Comments / questions / feedback appreciated.

Cheers,
Chris

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

Received on Thu Nov 18 19:06:03 2004

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