3

I did the hg convert on remote perforce repository and created a Mercurial repository on my Linux box.

I can see there is nothing in my working directory, all files resided under the .hg/ folder.

How can I make my work directory to start working on these files? I tried hg update to get all files on root level to become working dir, but could not succeed.

/my-hgrepo
      .hg/store/data/..    [whole files are kept under this folder]
      [no working directory]

How can I get my files over here to start working?

What can I do now? Without getting my working directory doing hg convert on perforce repo is useless for me?

StayOnTarget
  • 11,743
  • 10
  • 52
  • 81
praveen
  • 303
  • 1
  • 9
  • 17
  • An `hg update` should be all that is required to check out the latest revision into your working directory. What happened when you tried that? – gavinb Dec 04 '09 at 12:48
  • I get the below message on command prompt. ( 0 files updated, 0 files merged, 0 files removed, 0 files unresolved) Actually I have performed following steps after hg convert opertaion. first hg tag v..., then hg tip, then hg tags, then hg update. But did not get my work dir after this. – praveen Dec 04 '09 at 13:08
  • hg tag probably have created a new revision, which is not tip, check hg heads, and explicitely update to the "good" rev. – tonfa Dec 04 '09 at 17:05
  • I 've checked with "hg heads" commands, It is showing the newly created 'tag information' with details: (changeset, user, tag, date summary). Tried with "hg update tip" and "hg update " but both are not working. – praveen Dec 07 '09 at 09:54
  • what does 'hg manifest -r tip' get you? If the answer is nothing then you have no committed files in your tip revision. – Ry4an Brase Dec 08 '09 at 18:33

1 Answers1

5

Try hg update tip that should get you the latest in your working dir.

Ry4an Brase
  • 78,112
  • 7
  • 148
  • 169
  • 1
    I tried with "hg update tip" but its not working. same results is returned (0 files updated, 0 files merged, 0 files removed, 0 files unresolved). – praveen Dec 07 '09 at 08:57