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.

repository - Using Mercurial when I've done a complete rewrite -


this repository:

https://bitbucket.org/sergiotapia/sharpdic

basically, i've rewritten entire library. doesn't resemble original @ all. command can run erase/neglect existing code base , replace newer code version?

i've done hg init on folder on local disc (it has newer code), have delete before trying upload?

thanks.

just go revision 0 (hg null), commit (creates new branch), , close old branch. that's if not replacing repo altogether.

i assume new files not yet in repo directory. make backup first!

hg tip -c hg commit -m 'old code branch' --close-branch hg null -c 

you'll have empty reporsitory directoy, starting @ revision 0. copy new files (don't copy .hg folder new file directory).

hg addremove hg commit -m 'new code branch' 

that should trick. did mention backup files , repo first? ;-)

another option force push of new repo onto remote repo, you'll still need close old branch after doing in order have 1 active head. choose option if did commit nbew repo (you mentionned having done init, assumed no commit yet).


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 -