Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

3,290 views 4 5
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