|
|
Created on 2008-08-06.03:01:06 by bramsay, last changed 2008-09-05.21:46:39 by tonfa.
| msg6738 (view) |
Author: bramsay |
Date: 2008-08-07.15:30:18 |
|
Yes, we are running Symantec antivirus corporate edition. We also sometimes run
a file watcher application which checks for changes in files, kind of a dynamic
"hg status" program. (Users claim they are not running the file watcher.) So
if an anti virus program just happens to be opening a file because its just been
changed/created, that probably prevents it from being moved.
Moving the tmp... file to dirstate effectively repairs the repository.
|
| msg6727 (view) |
Author: abuehl |
Date: 2008-08-07.07:24:46 |
|
bramsay: Do you run any virus checkers? We already had reports about
such problems. The Windows implementation side of Mercurial seems to
be sensitive in this regard. See for example Issue1147, which reports
problems with a product named "avira" (last line in msg6124).
|
| msg6726 (view) |
Author: mpm |
Date: 2008-08-07.04:28:27 |
|
The revision of the working directory is stored in .hg/dirstate. If that file is
missing, the revision will appear to be 0000. One way this could happen is if we
attempt to write a new dirstate and are able to delete the current dirstate but
not rename the new one in its place.
|
| msg6725 (view) |
Author: bramsay |
Date: 2008-08-07.03:14:38 |
|
Sorry I don't have a way to reproduce this, but I'll keep trying. Obviously it
doesn't happen very often or we wouldn't be able to use Mercurial at all. I
suspect this is something special these users are doing. For now I'm going to
look at the code to see what could cause Mercurial to think its back at revision 0.
|
| msg6724 (view) |
Author: mpm |
Date: 2008-08-06.15:34:35 |
|
Setting to need-eg
|
| msg6722 (view) |
Author: djc |
Date: 2008-08-06.09:34:05 |
|
I can't really reproduce this:
D:\tmp>hg clone http://selenic.com/repo/hello
destination directory: hello
requesting all changes
adding changesets
adding manifests
adding file changes
added 2 changesets with 2 changes to 2 files
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
D:\tmp>notepad hello\Makefile
D:\tmp>mv hello newhello
D:\tmp>cd newhello
D:\tmp\newhello>hg st
M Makefile
D:\tmp\newhello>hg ci
'vi' is not recognized as an internal or external command,
operable program or batch file.
transaction abort!
rollback completed
abort: edit failed: vi exited with status 1
D:\tmp\newhello>hg ci -m "Crap"
D:\tmp\newhello>hg st
D:\tmp\newhello>hg version
Mercurial Distributed SCM (version fd91bf1585cb+20080213)
Copyright (C) 2005-2007 Matt Mackall <mpm@selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
| msg6718 (view) |
Author: bramsay |
Date: 2008-08-06.03:10:32 |
|
This is on Mercurial 1.0.1.
|
| msg6717 (view) |
Author: bramsay |
Date: 2008-08-06.03:01:05 |
|
User does the following on Windows XP.
hg clone https://repository... myver
(edits some files)
mv myver build2222
(more editing)
hg status
(shows some files as "M"odified and other as "?", which is normal)
hg commit
(response is "nothing changed")
(At this point "hg status" shows all files in the source tree as "?",
i.e. not tracked. The source tree is intact.)
("hg id" shows 000000000000)
("hg log shows the apparently complete repository, about 1000 changesets)
("hg verify" reports no problems)
(there is a file named tmpcjx7c in the .hg directory.)
This is happened to two users three times. Other users seem to be working fine.
The repository is 1.8Gb.
|
|
| Date |
User |
Action |
Args |
| 2008-09-05 21:46:39 | tonfa | set | topic:
+ windows nosy:
mpm, pmezard, djc, abuehl, bramsay |
| 2008-08-07 15:30:20 | bramsay | set | nosy:
mpm, pmezard, djc, abuehl, bramsay messages:
+ msg6738 |
| 2008-08-07 07:24:47 | abuehl | set | nosy:
mpm, pmezard, djc, abuehl, bramsay messages:
+ msg6727 |
| 2008-08-07 04:28:27 | mpm | set | nosy:
mpm, pmezard, djc, abuehl, bramsay messages:
+ msg6726 |
| 2008-08-07 03:14:39 | bramsay | set | nosy:
mpm, pmezard, djc, abuehl, bramsay messages:
+ msg6725 |
| 2008-08-06 15:34:37 | mpm | set | status: chatting -> need-eg nosy:
+ mpm messages:
+ msg6724 |
| 2008-08-06 09:34:05 | djc | set | nosy:
+ djc messages:
+ msg6722 |
| 2008-08-06 07:20:13 | pmezard | set | nosy:
+ pmezard |
| 2008-08-06 07:18:16 | abuehl | set | nosy:
+ abuehl |
| 2008-08-06 03:10:33 | bramsay | set | status: unread -> chatting messages:
+ msg6718 |
| 2008-08-06 03:01:06 | bramsay | create | |
|