Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L liquidprompt
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Johann Dreo
  • liquidprompt
  • Merge requests
  • !402

using phases to count outgoing revisions in mercurial repos

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Johann Dreo requested to merge github/fork/hcgraf/develop into develop Oct 30, 2015
  • Overview 4
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: hcgraf

This change counts the commits in the "draft" phase and shows that as the number of outgoing commits. It's much cheaper than actually contacting the remote. For very old versions of Mercurial (not supporting phases) it will always result in zero (same as before this change)

I also removed the corresponding line in "Known Limitations".

To read on Phases, see https://www.mercurial-scm.org/wiki/Phases

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/hcgraf/develop