[Bug 4546] New: Commits that add new files fail when written to a windows network share.
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Fri Feb 20 12:02:39 UTC 2015
http://bz.selenic.com/show_bug.cgi?id=4546
Priority: normal
Bug ID: 4546
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: Commits that add new files fail when written to a
windows network share.
Severity: bug
Classification: Unclassified
OS: Windows
Reporter: dee at earlsoft.co.uk
Hardware: PC
Status: UNCONFIRMED
Version: 3.3-rc
Component: Mercurial
Product: Mercurial
Whenever I commit, or push any changes that add new files to a repository over
a windows network share, the commit fails with:
IOError: [Errno 2] No such file or directory:
'P:\\repotest\\.hg/store\\journal.
backup.fncache'
This is reproducible with a freshly created repository:
P:\repotest>hg init
P:\repotest>hg add file1.txt
P:\repotest>hg commit -m commit1
P:\repotest>hg add file2.txt
P:\repotest>hg commit -m commit2
Traceback (most recent call last):
File "mercurial\dispatch.pyo", line 140, in _runcatch
File "mercurial\dispatch.pyo", line 860, in _dispatch
File "mercurial\dispatch.pyo", line 621, in runcommand
File "mercurial\dispatch.pyo", line 951, in _runcommand
File "mercurial\dispatch.pyo", line 922, in checkargs
File "mercurial\dispatch.pyo", line 857, in <lambda>
File "mercurial\util.pyo", line 711, in check
File "mercurial\extensions.pyo", line 149, in wrap
File "mercurial\util.pyo", line 711, in check
File "hgext\mq.pyo", line 3483, in mqcommand
File "mercurial\util.pyo", line 711, in check
File "mercurial\commands.pyo", line 1505, in commit
File "mercurial\cmdutil.pyo", line 2212, in commit
File "mercurial\commands.pyo", line 1499, in commitfunc
File "hgext\largefiles\reposetup.pyo", line 267, in commit
File "hgext\mq.pyo", line 3386, in commit
File "mercurial\localrepo.pyo", line 64, in wrapper
File "mercurial\localrepo.pyo", line 1397, in commit
File "hgext\largefiles\reposetup.pyo", line 247, in commitctx
File "mercurial\localrepo.pyo", line 64, in wrapper
File "mercurial\localrepo.pyo", line 1499, in commitctx
File "mercurial\transaction.pyo", line 25, in _active
File "mercurial\transaction.pyo", line 408, in close
File "mercurial\transaction.pyo", line 465, in _writeundo
File "mercurial\util.pyo", line 733, in copyfile
File "shutil.pyo", line 82, in copyfile
IOError: [Errno 2] No such file or directory:
'P:\\repotest\\.hg/store\\journal.
backup.fncache'
abort: No such file or directory: P:\repotest\.hg/store\journal.backup.fncache
transaction abort!
failed to recover fncache
rollback completed
P:\repotest>
When I look in Explorer, that file exists and has a date before the failure
(presumably, it's a copied file)
If I do the same process on a local file system, it will work, and then trigger
the same issue when I push to a network share.
The network admin says nothing obvious has changed in the network structure or
management.
This occurs on Windows 7 with Mercurial 3.3
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list