Greg,

On 8 March 2014 15:54, Greg Keogh <[email protected]> wrote:

> I found I can fix this "not under root" problem for a repository by
> deleting it and cloning it back into the same folder again. This hints that
> there is some path information inside the hidden .hg files and folders that
> gets "fixed" by cloning it all out of BitBucket again. Although, it would
> be a stupid design flaw if this were true, meaning that repositories are
> glued to specific local folders.
>

Mercurial has no problem with this per se. I have even copied a repo from a
Linux Samba share to an Windows machine without problems.

If you don't want to clone from BitBucket every time, you could keep a
pristine clone locally and clone your development checkouts from that
instead. It is not expensive because if you make clones this way within the
same filesystem (i.e. drive letter), Mercurial can make enormous space
savings by hardlinking all the history instead of copying it. Be careful
about where you're pushing to though because by default, a clone
synchronizes with the repo it was cloned from, i.e. your development clones
will push to your local mirror and not to BitBucket.

--
Thomas




> On 6 March 2014 18:43, ILT (O) <[email protected]> wrote:
>
>> This, from 2010, indicates that many culprit processes have a similar
>> effect, eg Windows indexing and on-access virus checking.
>>
>>
>> https://bitbucket.org/tortoisehg/hgtk/issue/1323/question-mark-overlay-icon-shown-on-folder
>>
>> That seems similar to me, probably never fixed.
>> ------------------------------
>>
>> Ian Thomas
>> Victoria Park, Western Australia
>>
>> *From:* [email protected] [mailto:
>> [email protected]] *On Behalf Of *Ian Thomas
>> *Sent:* Thursday, March 06, 2014 3:21 PM
>> *To:* ozDotNet
>> *Subject:* RE: [OT] TortoiseHG "not under root" error
>>
>>
>>
>> Perhaps you have a file open in a viewer? This was a reported error in
>> 2008 (Sourceforge), no reported fix I could find.
>>
>> Ian Thomas
>> Sent from my Windows Phone
>> ------------------------------
>>
>> *From: *Greg Keogh <[email protected]>
>> *Sent: *6/03/2014 14:11
>>
>> *To: *ozDotNet <[email protected]>
>> *Subject: *[OT] TortoiseHG "not under root" error
>>
>> If there are any experienced users of TortoiseHG here I'd like to ask
>> them if they know of this problem and a way to fix it:
>>
>>
>>
>> Right-clicking a file in the TortoiseHG UI and selecting Add or Forget
>> popups a dialog telling me: "*Filename* not under root *Folder*".
>>
>>
>>
>> If I use the equivalent context menu from Windows Explorer the commands
>> work and refreshing the TortoiseHG UI shows me the changes. Web searches
>> produce no useful information on this problem. I have no idea what started
>> this, as I haven't run any upgrades or moved folders or done other
>> suspicious things, the problem just started one morning a couple of weeks
>> ago. It's driving me barking mad.
>>
>>
>>
>> Greg K
>>
>
>

Reply via email to