Pull: abort: data/MyFile.i@rev: no match found! (International characters)
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...
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
Support Staff 1 Posted by Anton Gogolev on 10 Dec, 2013 02:58 PM
Magnus,
What is the command you're using to pull?
2 Posted by Magnus on 10 Dec, 2013 03:01 PM
hg clone --verbose -- https://MyRepo "C:\Users\MyUser\MyRepo"
3 Posted by Magnus on 10 Dec, 2013 03:10 PM
Did it in the TortoiseHG application. It's complaining during update. Now testing with --verbose and --debug from commandline.
Support Staff 4 Posted by Anton Gogolev on 10 Dec, 2013 03:27 PM
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 Posted by Magnus on 10 Dec, 2013 04:26 PM
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 Posted by Magnus on 11 Dec, 2013 01:42 PM
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.
Support Staff 7 Posted by Anton Gogolev on 11 Dec, 2013 01:51 PM
Magnus,
Could you please create a test repository with couple files in it: one named
hello.txt
and other namedRI24 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 Posted by Magnus on 12 Dec, 2013 11:31 AM
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]
Support Staff 9 Posted by Anton Gogolev on 12 Dec, 2013 01:56 PM
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 Posted by Magnus on 12 Dec, 2013 04:44 PM
The clone works with the workaround. Great! Will verify that the files are not corrupted.
Support Staff 11 Posted by Anton Gogolev on 16 Dec, 2013 07:24 AM
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 Posted by Magnus on 16 Dec, 2013 10:09 AM
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!
Anton Gogolev closed this discussion on 28 Jun, 2014 01:08 PM.