Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

branch - mercurial log of changests on merged named branches, but not unmerged -


i want able "hg log" of every changeset appears in graph between changeset1 , changeset2. cannot find way without either a) omitting nodes on named branches merged between changeset1:changset2 or b) including nodes on named branches not ancestors of changeset2

here's "hg glog" of simple example 2 named branches plus default branch. 1 named branch gets merged , nodes relevant, other irrelevant:

@    changeset:   5:e384fe418e9b |\   tag:         tip | |  parent:      2:7dc7af503071 | |  parent:      3:0a9be59d576e | |  summary:     merge somefeature branch default | | | | o  changeset:   4:4e8c9ca127c9 | | |  branch:      unmerged_feature | | |  parent:      1:ef98ad136fa8 | | |  summary:     change not merged ending changeset | | | | o |  changeset:   3:0a9be59d576e | |/   branch:      somefeature | |    parent:      1:ef98ad136fa8 | |    summary:     changed b.txt | | o |  changeset:   2:7dc7af503071 |    summary:     changed a.txt | o  changeset:   1:ef98ad136fa8 |  summary:     added b.txt | o  changeset:   0:271b22b4ad30    summary:     added a.txt 

i want log command give me nodes descendent of rev 0 , ancestors of rev 5. except rev 4.

i can info:

hg log -r 0:5 --template "{rev}:branch={branches},desc={desc}\n" 

this gives me log entry rev 4, not ancestor of rev 5:

0:branch=,desc=added a.txt 1:branch=,desc=added b.txt 2:branch=,desc=changed a.txt 3:branch=somefeature,desc=changed b.txt 4:branch=unmerged_feature,desc=change not merged ending changeset 5:branch=,desc=merge somefeature branch default 

i can little info:

hg log -b default -r 0:5 --template "{rev}:branch={branches},desc={desc}\n" 

omits rev 3, descendent of rev 0 , ancestor of rev 5

0:branch=,desc=added a.txt 1:branch=,desc=added b.txt 2:branch=,desc=changed a.txt 5:branch=,desc=merge somefeature branch default 

if you're using newer version of mercurial (1.6.0 or higher), can use revsets feature. in case, need ancestors() operator:

hg log --rev ancestors(5) 

see hg revsets more information.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -