- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 8 Jan 2013 13:46:07 -0800
- To: "L. David Baron" <dbaron@dbaron.org>
- Cc: Dean Jackson <dino@apple.com>, Alexis Menard <alexis.menard@intel.com>, www-style list <www-style@w3.org>
On Tue, Jan 8, 2013 at 1:40 PM, L. David Baron <dbaron@dbaron.org> wrote: > 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 &&). Yeah, my personal version of the function has that, because I was bitten by that before. I'll update the wiki. ~TJ
Received on Tuesday, 8 January 2013 21:46:54 UTC