Pull: abort: data/MyFile.i@rev: no match found! (International characters)

Magnus's Avatar

Magnus

10 Dec, 2013 02:54 PM

I've manually placed a BIG repository .hg directory in HgLab_Home\repositories\mainline\myrepo. When I pull from that repo with TortoiseHG I get the following error:

abort: data/ControllerSW/Documentation/Release Items/RI_24 Controller Accessories/RI24 kravgenomgång R1.doc.i@594c24e5f560: no match found!

The file _r_i24 kravgenomg~e5ng _r1.doc.i exists in the repo on the server, but it is not transferred during pull:(

I don't get that error when I pull the same repo from another server (hgweb in linux)

Seems to be a problem with international characters åäö, but I'm not sure...

  1. Support Staff 1 Posted by Anton Gogolev on 10 Dec, 2013 02:58 PM

    Anton Gogolev's Avatar

    Magnus,

    What is the command you're using to pull?

  2. 2 Posted by Magnus on 10 Dec, 2013 03:01 PM

    Magnus's Avatar

    hg clone --verbose -- https://MyRepo "C:\Users\MyUser\MyRepo"

  3. 3 Posted by Magnus on 10 Dec, 2013 03:10 PM

    Magnus's Avatar

    Did it in the TortoiseHG application. It's complaining during update. Now testing with --verbose and --debug from commandline.

  4. Support Staff 4 Posted by Anton Gogolev on 10 Dec, 2013 03:27 PM

    Anton Gogolev's Avatar

    Ok, a few more questions.

    What was the OS where the repository was originally hosted?

    What is your "native" code page/culture name?

    What Encoding do you have configured under Administration - General and does changing it to your native one (if it's not already set this way) solve the problem?

    On 10.12.2013, at 19:10, "Magnus" <[email blocked]> wrote:

  5. 5 Posted by Magnus on 10 Dec, 2013 04:26 PM

    Magnus's Avatar
    1. Originally the repo comes from Linux 2.6.35-32 (hg version 2.2.1).
    2. I've then cloned it with my Windows 7 client TortoiseHg version 2.9.2 with Mercurial-2.7.2, Python-2.7.3, PyQt-4.10.2, Qt-4.8.4.
    3. Then I've copied the local repo to hglab on WIndows Server 2008

    Originally the old mercurial server ran hgweb.cgi with HGENCODING = UTF-8.
    The current hgweb.wsgi doesn't say anything about ecoding!? :(
    Hglab says "65001 - Unicode(UTF-8)"

    I'll try to copy the original repo from my linux server onto hglabs tomorrow.

  6. 6 Posted by Magnus on 11 Dec, 2013 01:42 PM

    Magnus's Avatar

    It didn't get better by copying directly from the original linux mercurial server to hglab. The file is still missing after pull.
    There seems to be a problem in hglab.

  7. Support Staff 7 Posted by Anton Gogolev on 11 Dec, 2013 01:51 PM

    Anton Gogolev's Avatar

    Magnus,

    Could you please create a test repository with couple files in it: one named hello.txt and other named RI24 kravgenomgång R1.doc (or what is the exact name of the file that causes trouble) with serveral KB of text in it (random garbage will do) and attach it here.

  8. 8 Posted by Magnus on 12 Dec, 2013 11:31 AM

    Magnus's Avatar

    Here it comes. I've verified that it has the same problem

    http authorization required

    realm: xxx
    user: xxx
    requesting all changes
    adding changesets
    adding manifests
    adding file changes
    added 1 changesets with 1 changes to 1 files
    updating to branch default
    resolving manifests
    getting RI24 kravgenomgång R1.doc
    abort: data/RI24 kravgenomgång R1.doc.i@79f8534fde67: no match found!
    [command returned code 255 Thu Dec 12 12:29:23 2013]

  9. Support Staff 9 Posted by Anton Gogolev on 12 Dec, 2013 01:56 PM

    Anton Gogolev's Avatar

    Magnus,

    Thanks a lot! I was able to reproduce the issue. As a workaround, try to set Encoding in HgLab to "1252 - Western European". Meanwhile, I'll be investigating this issue further.

  10. 10 Posted by Magnus on 12 Dec, 2013 04:44 PM

    Magnus's Avatar

    The clone works with the workaround. Great! Will verify that the files are not corrupted.

  11. Support Staff 11 Posted by Anton Gogolev on 16 Dec, 2013 07:24 AM

    Anton Gogolev's Avatar

    Magnus,

    Are the files OK?

    After a bit of investigating I found out that your repository is not actually encoded as UTF-8, but as CP 1251.

    Is leaving the Encoding setting set to "1252 - Western European" a valid solution for you?

  12. 12 Posted by Magnus on 16 Dec, 2013 10:09 AM

    Magnus's Avatar

    Yes they seems to be fine.
    Wierd though, I as create the repo om the linux server (hg init).
    Then I populate it with files from windows via TortoiseHG (hg push)

    Thanx!

  13. Anton Gogolev closed this discussion on 28 Jun, 2014 01:08 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2022 04:42 PM
21 Jan, 2022 10:43 AM
20 Jan, 2022 10:45 AM
18 Jan, 2022 10:15 AM
19 Mar, 2021 06:13 PM

 

01 Mar, 2021 02:51 PM
01 Jan, 2021 02:19 AM
28 Aug, 2020 08:34 AM
23 Jun, 2020 08:29 AM
19 Dec, 2019 06:58 AM
21 Aug, 2019 09:07 AM