• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Fwd: Mercurial settings for OS X development?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Mercurial settings for OS X development?


  • Subject: Fwd: Mercurial settings for OS X development?
  • From: Luther Baker <email@hidden>
  • Date: Fri, 6 Nov 2009 22:53:52 -0600

Big fan of

$ hg glog


Which requires:
[extensions]
hgext.graphlog =

see http://mercurial.selenic.com/wiki/GraphlogExtension




On Fri, Nov 6, 2009 at 10:37 PM, Jens Alfke <email@hidden> wrote:

On Nov 6, 2009, at 7:40 PM, Ben Haller wrote:

 Hi all.  Anybody have some good .hgrc settings for Mercurial to play nice with Xcode and such on OS X?

Here's my ~/.hgrc file:

[ui]
username = Jens Alfke <email@hidden>
ignore = ~/.hgignore
ssh = ssh -C

[diff]
git = true
ignoreblanklines = true

[extensions]
color =
hgext.extdiff =
hgext.fetch =
rebase =

[color]
# http://mercurial.selenic.com/wiki/ColorExtension
status.modified = none
status.added = yellow bold
status.removed = red bold black_background
status.deleted = cyan bold underline
status.unknown = magenta bold underline
status.ignored = black bold
diff.diffline = black_background
diff.file_a = black_background
diff.file_b = yellow black_background
diff.hunk = black_background
diff.inserted = yellow

[extdiff]
cmd.opendiff = opendiff-sync



Here's the 'opendiff-sync' script:

#! /bin/bash
# opendiff returns immediately, without waiting for FileMerge to exit.
# Piping the output makes opendiff wait for FileMerge.
opendiff "$@" | cat



And here's my ~/.hgignore:

syntax: glob
.DS_Store
.svn
build
*.pbxuser
*.perspectivev3
*.mpkg
*.framework
*.pyc



Hope this helps!

—Jens


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Mercurial settings for OS X development?
      • From: Jens Alfke <email@hidden>
References: 
 >Mercurial settings for OS X development? (From: Ben Haller <email@hidden>)
 >Re: Mercurial settings for OS X development? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Mercurial settings for OS X development?
  • Next by Date: Re: Mercurial settings for OS X development?
  • Previous by thread: Re: Mercurial settings for OS X development?
  • Next by thread: Re: Mercurial settings for OS X development?
  • Index(es):
    • Date
    • Thread