Simon Large wrote:
> Stefan Küng wrote:
>> On 10/3/05, Simon Large <firstname.lastname@example.org> wrote:
>>> Stefan Küng wrote:
>>>> Not expected, but also not TSVN's fault.
>>>> Try it with the CL client - it won't show the diff of files within
>>>> added folders either. And that's because the unified diff doesn't know
>>>> about folders, only files. And added files within unsupported added
>>>> folders can't be created because the folder isn't created/added
>>> As there's nothing we can do about this, should we show a warning when
>>> someone tries to create a patch which adds folders?
>> (means: please file an issue)
> Filed as issue 175.
OK. So I asked the question on the dev@subversion list because I cannot
imagine contributors to a project don't ever provide code which doesn't
add folders and new files, and I simply wanted to know how that's done
if patch files alone are insufficient.
The short answer from John Peacock is a bit at odds with the Subversion
documentation and is as follows
> [this is really a users@ question]
> The patch file format has no problem with directory/file additions.
It cannot handle renames or directory deletes,
> however. If you really need that, you can use SVK:
> which includes a binary block to a conventional diff file (which
patch helpfully ignores) which can contain more
> complex tree operations.
Jonh's answer is sort of what I expected a patch tool should do, so the
svn documentation might be short of the mark on information.
Back to TSVN.
TSVN displayed the added folders and files with tick boxes and one is
clearly misled because what is displayed as selected for inclusion in
the patch is not what you actually get in the patch file.
Issue 175 thanks Simon.
However, we have conflicting views about whether the patch tool can add
new folders and files so, if to can, as I think it should, then can TSVN
be updated to perform the actions it's dialog implies to the user rather
than crippling it. If of course the patch format supports folder/files
What brought this is that I was preparing a patch of my contribution to
another Open Source project (DUnit) and it failed in a pre release trial
because files were missing without me knowing.
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Tue Oct 4 08:02:38 2005