it’s a quesion about mercurial.
I’m not a unix – guy, but use a mercurial together with MacHG for my development on Mac. Yesterday I had to change my mac, I just copied my project folder with repository on new mac, but now I can’t do anything with it in mercurial. I can open project in xcode and everuthing is fine, but if I try to do anything in mercurial via terminal I’m getting this: abort: data/.DS_Store.i@e959df7694ce: no node!
If I try to do anything in MacHG I’m getting Mercurial reported error number 255:
skipping unreadable ignore file '/Users/zakhar/.hgignore': No such file or directory
abort: data/.DS_Store.i@e959df7694ce: no node!
What can I do? where can I get this .hgignore file? I don’t have old mac any more.
The advice you’re getting about putting
.DS_Storein your.hgignorefile was the advice you needed back when you first setup that repo, however it wont help now. You’ve already added the.DS_Storefiles in your repo on your old computer and adding a file overrides.hgignore.Furthermore, it looks like when you copied the stuff from your old computer to the new computer the
.hg/data/.DS_Store.ifile and probably anything else with.DS_Storein it didn’t copy over.Drop to terminal on the new computer and do a
hg verify. If you get notifications about missing files (and it looks like you will) then you need to re-copy the repository over, or better yet clone it over withhg clone.