"hg update -d" date selection

icecream johnforeplay at hotmail.com
Tue Feb 3 20:46:19 CST 2009


hi all

i would like to update my working directories to a particular date revision. 
i am using something like this:

hg up -C -d "<2008-12-19"

as i would like the working directories to be update to the closest dated
revision to the given date.   however, what seems to happen is that
mercurial considers all revisions which match the date range given, then
select the revision which has the highest revision number.  unfortunately,
this is certainly not guaranteed to be one closest chronologically to the
given date.

as i am working within a codebase using a 'forest' of repositories, i don't
want to have to go manually into each repo and find the required revision
number to update to.  

is there another way to achieve what i want?

thanks
john
-- 
View this message in context: http://www.nabble.com/%22hg-update--d%22-date-selection-tp21823404p21823404.html
Sent from the Mercurial mailing list archive at Nabble.com.



More information about the Mercurial mailing list