Will history be preserverd when doing a destroy in tfs? -


say have 2 branches; master , child. make changes in child , merges them master. when doing destroy on child branch, history of changes made in child branch lost or merged master branch? have specify /keephistory parameter?

any branch or item "deleted" remains in history. branch or item destroyed removed database , therefore not in history. there not /keephistory option on delete because deletes keep history. have not personnally used /keephistory destroy command can't give recommendation on it. reading documentation here guess difference between regular delete , destroy /keephistory on destroy can't reversed.

in situation describe not recommend destrying branch because history changed lives. when merge there single check-in includes changes merged , associated checked in merge.

before tfs 2010 history merges difficult follow possible if took time figure out. in tfs 2010 easier see flow of change through branches.

i answer better if knew reasoning behind wanting destroy here couple things think about: if destroying reduce disk space 1) branches don't cost because keep difference not entire copy 2)if destroying save disk space , use /keephistory guess doens't reduce disk space usage. if destroying because omg code trash , nobody should ever have chance subjected it's horror, overthinking things.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -