[Bug 3692] New: Create error-messages with clear follow steps

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Tue Nov 6 17:13:25 UTC 2012


http://bz.selenic.com/show_bug.cgi?id=3692

          Priority: normal
            Bug ID: 3692
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Create error-messages with clear follow steps
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: k-bx at k-bx.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: unspecified
         Component: Mercurial
           Product: Mercurial

Hi! One thing that's good about TheOtherDVCS (tm) is that whenever you get
stuck, it says concrete steps you should follow (e.g. things you need to put
into your config file).

I just initialized new repo via "hg init", commited few things, then I decided
to put that repo into bitbucket. So I created bitbucket project and pushed into
that "hg push https://k_bx@bitbucket.org/k_bx/reponame". And after that, next
time I wanted to push new commits, I just did "hg push" and got error:

➤ hg push
pushing to default-push
abort: repository default-push not found!

So, only thing after this error-message that I'm left with is either:
1. google
2. look at another project's config (which I did)

What I suggest is to have this:

➤ hg push
pushing to default-push
abort: repository default-push not found!
Possible fix: put

[paths]
default = <path to your repo>

into your repository's .hg/hgrc config file.


What do you think?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list