Feature requests

Arun Sharma arun at sharma-home.net
Thu Jun 9 06:14:31 UTC 2005


Matt Mackall wrote:

>>- hg status <filename>
>>	detailed information about the state of the file
>
> 
> What sort of info would you like, exactly?
> 

file rev, changeset rev, changed, added, deleted, sha-1 hash
 
> 
>>- hg undo upto a particular rev
> 
> 
> Hmm. Not sure what I think about that. The issue with undo is that
> it's really no good once your rev has made it out in the wild. If you
> pulled from someone who pulled from you, the changeset will reappear
> the next time you pull. So undo is really "oops, I just really screwed
> up, hope nobody saw that", not "ooh look, I can roll back time."
>

True, it doens't make sense in the distributed model, but hg should support the non-distributed case as well?
 
> 
>>- hg revert <filelist> 
> 
> 
> This reverts working dir files back to their checked-in state? That
> seems to make sense. But what about files that are merged?
> 

You mean the multi-head case? Ask the user?

> 
>>- exporting to a plain text tree (merge + rm -rf .hg?)
> 
> 
> Do we really need a command for that?
> 

I can live without it.

	-Arun



More information about the Mercurial mailing list