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

Re: What is postfix?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-09-30 15:39:53 CEST

Kresten Kjeldgaard <gathond@gathond.dk> writes:

> On Mon, Sep 29, 2003 at 04:25:49PM -0400, Charles E. Doucette wrote:
> > Perhaps this is only a TortoiseSVN issue; but, what does the PostFix message
> > mean during a commit?
>
> Postfix is probably a smtpd (mailserver), there might be other software
> out there that has the same name.

It's also slang for a technique subversion uses under the hood when
committing files.

When driving an commit 'editor' vtable, there are two ways to do
things:

   1. every time you call open_file(), immediately send the file's
       contents. we used to call this 'infix' textdeltas or something
       like that.

   2. call open_file(), get a handle to the repository file, stash it
       away, call close_file(). Then after completely describing the
       structural change to the server, send ALL the textual changes
       on ALL files at the very end. We called this 'postfix'
       textdeltas.

svn_client_commit() exclusively uses the 2nd method now. It's much
nicer, because it allows the server to reject any out-of-date changes
*before* you send file bodies, which can be very time-consuming.

Anyway, TortoiseSVN is displaying the 'postfix' notification signals
quite literally: it describes them as 'sending postfix data' or
something, when it probably should be saying something less confusing,
like 'sending file contents'.

Meanwhile, if you have transformative properties attached to a file
(like svn:eol-style or svn:keywords), then your file is updated after
the commit completes. That's why your IDE thinks it's been 'touched'.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 30 15:41:35 2003

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

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