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

Re: Possible bug while committing an added file

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-06-27 18:56:54 CEST

Stieger Ingmar wrote:
>>> Error: Copyfrom-url 'svn://server/test/Table%20353.txt' has
>> different
>>> repository root than 'svn://server/SITE'
>> 'Copyfrom-url' means you copied the file with the Subversion
>> command, you didn't just 'clean copy' those files over.
>
> Yes and no... TSVN was trying to add the file to the repository

You mean working copy here? You can't merge to a repository.

> during the merge command (when the error occured). It was not
> copied manually. Or do you mean the source repository ? The files
> there where copied with Windows Explorer, but the source files
> were not under version control.

Please explain exactly what you did here. I don't know what exactly you
did to get the error message. But when you say the source files were not
under version control, then of course a merge will always fail: you can
only merge urls into a working copy, so all participants in the merge
must be versioned.

>> I doubt that's a problem with TSVN. My guess is that's a
>> problem with the Subversion library.
>>
>> * What's so special about that file?
>
> Nothing. The problem occured with every file, even with
> files that were manually created with notepad.

If you create new files without putting them under version control and
then try to merge, you would get a different error message.

>> * Can you reprocude this with a clean, empty repository and
>> repeating the steps you did before?
>
> Yes. The "test" in my first report was a new repository
> which I used to reproduce the problem.
>
> As you know, the problem went away with the older TSVN
> version and we continued our work (merging and everything
> went fine). Now, as we try to commit the changes, we get
> the following message even with the older version:
>
> Error: Source url 'svn://sitsite/W1/Forms/Form 5649.txt'
> is from different repository

Have you seen this:
http://svn.haxx.se/users/archive-2005-02/0735.shtml
?

> The properties of that file say:
> url = svn://sitsite/SITE/Forms/Form 5649.txt

And what would the correct url be? This information alone is useless.
Remember that I don't know your server url, your working copy location
or anything else about your setup. For you, that's of course all known,
but not for me.

> The file is a new file, which was added to the repository
> during a merge operation, and then manually added
> (now showing the blue plus sign).

If a merge has added the file, then you couldn't add it again manually.
So the merge operation has not added the file.

> This is very strange indeed, especially as I worked
> through the whole process a couple of months ago (with a
> slightly different codebase) and had no problems at all.
>
> I might be able to setup a small conference session in
> order to show you the problem with a remote desktop
> session, if that would help.

Not really, but thanks for the offer. What I need are steps to reproduce
the problem. You said you could reproduce it with a new repository, so
why don't you write down each step you take until you get that error?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Jun 27 18:57:11 2006

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

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