Display branches in "unsynced remote changes" warning

Sune Foldager cryo at cyanite.org
Fri Apr 16 04:11:00 CDT 2010


Now the prepush is rewritten (in crew stable), the warning message 
"note: unsynced remote changes!" is only produced for branches you are 
actually pushing, which is a very nice change IMHO (especially for hgtk 
which pops up a text box when that warning comes).

The way the code works now, it would be trivial to extend this to list 
the branches, e.g. "note: unsynced remote changes on branch foo" and 
"note: unsynced remote changes on branches foo, bar".

How do people feel about that?
Also, should this be a warning at all, or just a status?

/Sune


More information about the Mercurial-devel mailing list