push bug?

Ted Pavlic ted at tedpavlic.com
Tue Jul 15 15:08:17 CDT 2008


The # will be grabbed by your shell as a comment, and so hg isn't even
going to see it.

Use -r.

Do:

	hg help push

for more information.

--Ted


Gene Pinkston wrote:
> I had different expectations of the push command.  I tried to push 1 of 
> 2 change sets, but instead both were pushed.  Maybe operator error, but 
> I would at least expect some sort of error message.  Command as follows:
> 
> [gfp at localhost pnx1005]$ hg push #5b4b4766dbc8
> pushing to /home/mercadmin/pnx1005
> searching for changes
> adding changesets
> adding manifests
> adding file changes
> added 2 changesets with 460 changes to 460 files
> 
> As you can see, 2 changesets were pushed.  Does -r help?  Man page is 
> kind of sketchy.  It says something about "#" then a little later 
> something about "-r".  Note that 5b4b4766dbc8 is the first of 2 
> independent (not touching same files) changsets.
> 
> Thanks for your help!!
> 
> Gene
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial

-- 
Ted Pavlic <ted at tedpavlic.com>


More information about the Mercurial mailing list