It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Getting 'hg cat' failed with code 1:'.hgtags: no such file in rev ...

I'm getting the above noted error when attempting to sync from a remote repository of mine. Using Sourcetree Mac 2.7.6. Not sure what to do about that.

Can I just delete that local repository and then choose to Clone it on the Remote tab of Sourcetree?

2 answers

I notice in the computer that did the upload to the remote repository, there's an .hgtags file there when the default branch is checked out, but not when the develop branch is checked out. Is that a problem? I usually do a Push from that computer with the develop branch checked out.

I  just checked the remote repository and see the .hgtags file there, so I assume that means the most recent Push was done with the default branch checked out, which, as I said above, is the only branch that has an .hgtags file when checked out (the develop branch doesn't).

Those two replies by me were uploaded as Answers by mistake.

Ok. Now I can successfully Pull on the problem computer noted initially. What I did was create another changeset on the Pushing computer and Pushed it. Now it all works okay on the Pulling computer. I'd still love to know why this happened at all, though.

But I do notice that in all three repositories (remote repo and the 2 local repos) I have an .htags file in their default branch and not in their develop branch. Is this a problem? If so, how do I correct it?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,910 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you