- From: L. David Baron <dbaron@dbaron.org>
- Date: Tue, 8 Jan 2013 13:40:36 -0800
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: Dean Jackson <dino@apple.com>, Alexis Menard <alexis.menard@intel.com>, www-style list <www-style@w3.org>
On Tuesday 2013-01-08 13:20 -0800, Tab Atkins Jr. wrote: > On Tue, Jan 8, 2013 at 12:40 PM, Dean Jackson <dino@apple.com> wrote: > > Fixed in https://dvcs.w3.org/hg/csswg/rev/ab47414d690c > > > > [Apologies for not following the commit message style - I'll do it properly next time] > > If you're operating on the command line, there's a bash function in > the wiki that makes this automatic: > > function commit { > hg commit -m "[${PWD##*/}] ${1}" && hg pull --rebase && hg push > } > > The [${PWD##*/}] part selects the name of the current directory, wraps > it in [], and puts it before your commit message. That's a somewhat dangerous alias if you happen to have changes in other directories, since it will commit repository-wide with a commit message indicating it's a change in one spec. I'd suggest commiting only in . (i.e., add a . before the &&). -David -- 𝄞 L. David Baron http://dbaron.org/ 𝄂 𝄢 Mozilla http://www.mozilla.org/ 𝄂
Received on Tuesday, 8 January 2013 21:41:08 UTC