login
Header Space

 
 

Re: GIT push to sftp (feature request)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Martin Langhoff <martin.langhoff@...>, pavlix <pavlix@...>, <git@...>
Date: Tuesday, August 7, 2007 - 5:50 pm

On Mon, Aug 06, 2007 at 00:20:55 +0200, Matthieu Moy wrote:

I believe bzr locks are not completely safe in a sense that breaking a lock
does not cause the operation to immediately abort. GNU Arch ones did, but
it's specific data layout was part of a reason why it worked (it wrote the
data to a directory, so removing that would abort the operation).


Actually rename or link is necessary for atomic updates, lockless or lockfu=
l.

Slight problem with it is, that unix (and similar) systems allow overwriting
another file on rename (and do so atomically in a sense the destination
always exists), while windooze fail if the target exists. Most network
protocols don't specify overwriting and simply do whatever the underlying
system does. GNU Arch solved this by renaming directories, which are not
overwriten under any system.

--=20
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
GIT push to sftp (feature request), pavlix, (Sun Aug 5, 5:05 am)
Re: GIT push to sftp (feature request), Martin Langhoff, (Sun Aug 5, 5:12 pm)
Re: GIT push to sftp (feature request), Matthieu Moy, (Sun Aug 5, 6:20 pm)
Re: GIT push to sftp (feature request), Jan Hudec, (Tue Aug 7, 5:50 pm)
Re: GIT push to sftp (feature request), Martin Langhoff, (Sun Aug 5, 8:00 pm)
Re: GIT push to sftp (feature request), Matthieu Moy, (Mon Aug 6, 4:59 am)
Re: GIT push to sftp (feature request), Johannes Schindelin, (Sun Aug 5, 9:38 am)
speck-geostationary