Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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  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?

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.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events