Re: I forgot to push

Larry McVoy <[email protected]> Tue, 2 Nov 2004 06:50:19 -0800
Newsgroups gmane.comp.version-control.bitkeeper.user
Message-ID <[email protected]>
On Tue, Nov 02, 2004 at 08:45:53AM -0600, Rick Richardson wrote:
> Is there a *hideously fast* way I can tell if I have unpushed changes
> that I could add to my "cd" alias for when I enter a repo?  

You could put some triggers in your repo, one post-commit which touches
BitKeeper/log/needs_push and one post-outgoing which removes that file.
Then all your cd command has to do is 

	test -f BitKeeper/log/needs_push && echo This repo has unpushed changes

How's that?
-- 
---
Larry McVoy                lm at bitmover.com           http://www.bitkeeper.com
_______________________________________________
Bitkeeper-users mailing list
[email protected]
http://bitmover.com/mailman/listinfo/bitkeeper-users
To unsubscribe from this list, go to the above URL, follow instruction at the bottom of the web page.