Error when trying to add files in NTFS filesystem
Elias Chrysoheris
eliaschr at cha.forthnet.gr
Sun Jun 7 13:22:32 CDT 2009
Dear sirs,
I'm new to mercurial. I usually write code in assembly language for Texas Instruments' microcontroller MSP430. The last days one friend of mine told me about mercurial as a great version control system, so I decided to give it a try.
I had a program in a partition in openSUSE Linux 11.1. The partition is formated as NTFS (the partition with the data, not the operating system's partition). I entered the directory that my program lies and started the repository. I send you an attachment having the commands I issued and the
response of each command. Perhaps it is a matter of configuration that I'm doing wrong.
Please note that when I copy the whole directory (using cp -R ....) and do the same things there, no error appears. Everything is fine.
If you need any other information from me please let me know.
Thank you in advance
Yours sincerely
Elias
-------------- next part --------------
eliaschr at orion:~> hg version
Mercurial Distributed SCM (version 1.2.1)
Copyright (C) 2005-2009 Matt Mackall <mpm at 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.
eliaschr at orion:~> cd /windows/D/ECh\ Documents/Eagle\ Schematics/Daidalos/Program/Receiver/
eliaschr at orion:/windows/D/ECh Documents/Eagle Schematics/Daidalos/Program/Receiver> hg init
eliaschr at orion:/windows/D/ECh Documents/Eagle Schematics/Daidalos/Program/Receiver> ll -a
total 201
drwxrwxr-x 1 root users 4096 2009-06-07 21:17 .
drwxrwxr-x 1 root users 0 2009-03-03 23:59 ..
-rw-rw-r-- 1 root users 198 2009-03-04 00:30 DaidalosRx.kateproject
-rw-rw-r-- 1 root users 10272 2009-03-04 00:30 datasection.s43
drwxrwxr-x 1 root users 0 2009-03-03 23:59 Debug
-rw-rw-r-- 1 root users 12727 2009-03-04 00:30 definitions.s43
-rw-rw-r-- 1 root users 5304 2009-03-04 00:30 flashrom.s43
drwxrwxr-x 1 root users 0 2009-06-07 21:17 .hg
-rw-rw-r-- 1 root users 16768 2009-03-04 00:30 keyb4_8.s43
-rw-rw-r-- 1 root users 22885 2009-03-04 00:30 lcd8bit.s43
-rw-rw-r-- 1 root users 37663 2009-03-04 00:30 main.s43
-rw-rw-r-- 1 root users 8356 2009-03-04 00:30 Math.s43
-rw-rw-r-- 1 root users 25178 2009-03-04 00:30 menus.s43
-rw-rw-r-- 1 root users 1310 2009-03-04 00:30 Receiver.dtp
-rw-rw-r-- 1 root users 5355 2009-03-04 00:30 Receiver.prj
-rw-rw-r-- 1 root users 16226 2009-03-04 00:30 scheduler.s43
-rw-rw-r-- 1 root users 7154 2009-03-04 00:30 uart.s43
eliaschr at orion:/windows/D/ECh Documents/Eagle Schematics/Daidalos/Program/Receiver> hg add *.s43
Exception OSError: (1, 'Operation not permitted', '/windows/D/ECh Documents/Eagle Schematics/Daidalos/Program/Receiver/.hg/.dirstate-LcTrvH') in <bound method lock.__del__ of <mercurial.lock.lock object at 0x7fc0256e9dd0>> ignored
eliaschr at orion:/windows/D/ECh Documents/Eagle Schematics/Daidalos/Program/Receiver> hg -v add *.s43
adding Math.s43
adding datasection.s43
adding definitions.s43
adding flashrom.s43
adding keyb4_8.s43
adding lcd8bit.s43
adding main.s43
adding menus.s43
adding scheduler.s43
adding uart.s43
Exception OSError: (1, 'Operation not permitted', '/windows/D/ECh Documents/Eagle Schematics/Daidalos/Program/Receiver/.hg/.dirstate-QqLoVX') in <bound method lock.__del__ of <mercurial.lock.lock object at 0x7f580b36fdd0>> ignored
eliaschr at orion:/windows/D/ECh Documents/Eagle Schematics/Daidalos/Program/Receiver> cd ..
eliaschr at orion:/windows/D/ECh Documents/Eagle Schematics/Daidalos/Program> cd -R Receiver ~/bin
bash: cd: -R: invalid option
cd: usage: cd [-L|-P] [dir]
eliaschr at orion:/windows/D/ECh Documents/Eagle Schematics/Daidalos/Program> cd -R ./Receiver ~/bin
bash: cd: -R: invalid option
cd: usage: cd [-L|-P] [dir]
eliaschr at orion:/windows/D/ECh Documents/Eagle Schematics/Daidalos/Program> cp -R ./Receiver ~/bin
eliaschr at orion:/windows/D/ECh Documents/Eagle Schematics/Daidalos/Program> cd ~/bin/Receiver/
eliaschr at orion:~/bin/Receiver> rm -rf .hg
eliaschr at orion:~/bin/Receiver> hg init
eliaschr at orion:~/bin/Receiver> hg add *.s43
eliaschr at orion:~/bin/Receiver>
More information about the Mercurial
mailing list