Topic: Hg update default not working

aslanex on June 16, 2012, 10:57:49 PM

aslanex

  • Newbie
  • *
  • Posts: 8
  • Karma: +1/-0
    • View Profile
Hello,
I want to install SumWars, I followed Build instructions, but when I wrote "hg update default" into the terminal, it says "abort: no repository found in '/home/aslanex' (.hg not found)!"
I'm using Ubuntu 12.04.
Thanks!
Logged
  • Read 4900 times
  • Category Help
Comments: 6

fusion44 on June 17, 2012, 11:36:43 AM
Reply #1

fusion44

  • Administrator
  • Sr. Member
  • *****
  • Posts: 459
  • Karma: +10/-0
    • View Profile
Hi aslanex!

you have to clone a repository before you can update. Use this command in your home folder:

hg clone https://bitbucket.org/sumwars/sumwars-code

This will create a folder called sumwars-code in your home directory.
Logged

aslanex on June 17, 2012, 07:19:53 PM
Reply #2

aslanex

  • Newbie
  • *
  • Posts: 8
  • Karma: +1/-0
    • View Profile
I have done it and I have the folder, but it still says that.
I've followed instructions in the wiki.
Logged

fusion44 on June 17, 2012, 09:33:44 PM
Reply #3

fusion44

  • Administrator
  • Sr. Member
  • *****
  • Posts: 459
  • Karma: +10/-0
    • View Profile
Try navigating into the created folder:
Code: [Select]
cd sumwars-code
hg update default

This step should not be needed when you have created a fresh clone from the repository.

Logged

aslanex on June 18, 2012, 06:41:05 PM
Reply #4

aslanex

  • Newbie
  • *
  • Posts: 8
  • Karma: +1/-0
    • View Profile
Oh, thanks.
But It says 0 files updated, 0 files merged, 0 files removed, 0 files unresolved. It is correct?
Logged

protogenes on June 18, 2012, 11:30:29 PM
Reply #5

protogenes

  • Administrator
  • Jr. Member
  • *****
  • Posts: 59
  • Karma: +5/-0
    • View Profile
This sounds good. Please just check whether the files are there or not. Thx
Logged

aslanex on June 19, 2012, 08:44:10 PM
Reply #6

aslanex

  • Newbie
  • *
  • Posts: 8
  • Karma: +1/-0
    • View Profile
Yes, the files are there.
Thanks much!
Logged