Re: question why it does work on not changed files here?
Bram Moolenaar <[email protected]> Fri, 02 Dec 2005 13:09:50 +0100
| Newsgroups | gmane.comp.tools.aap.user |
|---|---|
| Message-ID | <[email protected]> |
calmar wrote:
> it seems using the publish attributes way to do that, aap also
> only updates the remote files, when the local file has changed.
>=20
> aap does not seem to care for the remote file really? I changed
> the remote file, but 'aap publish' did not update that file,
> even when the local file actully is different. Only when I
> actually change the *local* file, it 'publishes'/updates the remote
> file.
Aap does not check the contents of the remote file. Normally you would
edit the files locally and then aap will publish those that were
changed. Checking the contents of the remote file would require
downloading the file, doing that for all files will be quite slow.
Perhaps it could be an option to check the remote file for changes.
That would avoid overwriting someone else's changes. The extra overhead
would be acceptable then. This would be a new feature.
> So then, to be honest, I again don't really understand why that
> above does not work? Or why does it need to take the remote
> files signatures, when that actually does not seem to have some
> influence, or has it?
I don't understand this. Aap computes the signature of local files.
When a file has been published the remote file will have the same
signature.
--=20
ZOOT: I'm afraid our life must seem very dull and quiet compared to your=
s.
We are but eightscore young blondes, all between sixteen and
nineteen-and-a-half, cut off in this castle, with no one to protec=
t us.
Oooh. It is a lonely life ... bathing ... dressing ... undressin=
g ...
making exciting underwear....
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURE=
S LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \=
\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ =
\\\
\\\ download, build and distribute -- http://www.A-A-P.org =
///
\\\ help me help AIDS victims -- http://www.ICCF.nl /=
//
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick