diff options
author | Primal Pappachan | 2011-09-30 11:38:58 +0530 |
---|---|---|
committer | Primal Pappachan | 2011-09-30 11:38:58 +0530 |
commit | 34f54a23dbe0d2d8a9b53166b320a4e6a9ef402e (patch) | |
tree | 19e6fb2ca3edf90654a27dc0ae5e8e79b068df88 /Version_Control | |
parent | 3b305a30adffac865f3a0400e8eb9000c6dc2cc8 (diff) | |
download | sdes-stscripts-34f54a23dbe0d2d8a9b53166b320a4e6a9ef402e.tar.gz sdes-stscripts-34f54a23dbe0d2d8a9b53166b320a4e6a9ef402e.tar.bz2 sdes-stscripts-34f54a23dbe0d2d8a9b53166b320a4e6a9ef402e.zip |
Removed unnecessary files
Diffstat (limited to 'Version_Control')
-rw-r--r-- | Version_Control/.vcs1.rst.swp | bin | 16384 -> 0 bytes | |||
-rw-r--r-- | Version_Control/vcs | 316 | ||||
-rw-r--r-- | Version_Control/vcscript.aux | 18 | ||||
-rw-r--r-- | Version_Control/vcscript.log | 571 | ||||
-rw-r--r-- | Version_Control/vcscript.out | 0 | ||||
-rw-r--r-- | Version_Control/vcscript.pdf | bin | 35936 -> 0 bytes | |||
-rw-r--r-- | Version_Control/vcscript.tex | 381 |
7 files changed, 0 insertions, 1286 deletions
diff --git a/Version_Control/.vcs1.rst.swp b/Version_Control/.vcs1.rst.swp Binary files differdeleted file mode 100644 index 08fa09e..0000000 --- a/Version_Control/.vcs1.rst.swp +++ /dev/null diff --git a/Version_Control/vcs b/Version_Control/vcs deleted file mode 100644 index bada154..0000000 --- a/Version_Control/vcs +++ /dev/null @@ -1,316 +0,0 @@ - -.. Prerequisites -.. ------------- - -.. None - -.. Author : Primal Pappachan - Internal Reviewer : - - - --------- -Script --------- - -.. L1 - -{{{ Show the first slide containing title, name of the production team along with the logo of MHRD}}} - -.. R1 - -Hello friends and welcome to the tutorial on 'Version Control with Hg' - -.. L2 - -{{{Show the slide containing the objectives}}} - -.. R2 - -At the end of this tutorial you will be able to - -1. Understand what is Version Control and the need for it. - -#. Create and use repository on a daily basis - -.. R3 - -First let's understand what Version Control is - -.. L3 - -{{{Show the slide 'what is version control'}}} - -.. R4 - -Version control is just a way to track your files over time and share them. This allows you to go back to older versions when something goes wrong, see what changed when and why, collaborate on a single piece of work with a bunch of people. - -Version control is just a way of backing up your files, before making changes to it. Most people would have cooked up their own version control system, without realizing there are tools built by others which takes the task much more organized and systematic. - -.. L4 - -{{{Show the slide 'Home-brewed'}}} - -.. R5 - -Let's look at an example of home-brew Version Control system - -Version control is just a way of backing up your files, before making changes to it. Most people would have cooked up their own version control system, without realizing there are tools built by others which takes the task much more organized and systematic. - -.. L5 - -{{{Show the slide 'Problems'}}} - -Let's look at the various problems associated with this setup. - -.. R6 - -Now let's move onto identifying the needs for a Version Control System. - -.. L6 - -{{{Show the slide 'The need for Version Control'}}} - -.. R7 - -1. To err is Human... - -#. By tracking the history of the project, an outsider can see the evolution of a project. - -#. Allows for effective collaboration on the project as everything is shared. - -#. Helps to identify which additions have broken down the project and thus aids in efficient tracking down of the bugs. - -#. It is good for a one man show as it is for a big group of people working on a project. - -.. R8 - -It is similar to playing an Video game. - -1. We play games ins stages - -#. Once we finish a stage or a task - we SAVE - -#. We continue playing - -#. But, if necessary, we could choose from one of the saved states and start from there - -#. We could alter the course of the game - -.. L7 - -{{{Show the slide 'Mercurial or hg'}}} - -.. R9 - -Some of the Version Control tool available and used widely are: - -1. cvs(Concurrent Version Systems) - -#. svn(subversion) - -#. hg(mercurial) - -#. git - -.. R10 - -Each of these tools have their own merits and demerits. In this tutorial we will be learning to use mercurial or hg. - -Let's now get into Installation - -.. L8 - -sudo apt-get install mercurial - -.. R11 - -For Windows, - -.. L9 - -http://mercurial.selenic.com/downloads/ - -Type 'hg' which lists out all the commands - -.. L10 - -$hg - -.. R12 - -and 'hg version' which gives the version number. - -.. L11 - -$hg version - -.. R13 - -Now why exactly is a repo? A repp/repository is a folder with all your files and a store of all the changes that were made to it. To save disk space, hg doesn't save all files, but only saves only a series of changes made to the files. - -.. L13 - -{{{Show the slide for 'We need a repo!'}}} - -.. R14 - -Let's now see how to initialize a repo - -.. L14 - -cd working-directory/ - -$hg init - -ls -a - -.. R15 - -The .hg directory indicates that our book directory is now a hg repository. Mercurial keeps all the history of the changes made and a few other config files etc. in this directory. - -.. L13 - -$hg status - -.. R15 - -Gives the status of our repo. As a beginner, use it often. - -.. L14 - -$hg help 'status' - -.. R16 - -You can use 'hg help commandname' which gives the details about the command. For example. - -.. L15 - -hg help status - -{{{Show the slides for 'Status Codes'}}} - -.. R17 - -Have a look at what various status codes associated with files means. By looking at the codes, it is clear that our files are not yet being tracked by hg. Now Let's move onto Adding Files. - -.. L16 - -$hg status - -.. R18 - -This shows that none of the files in the folder have not been added yet. - -.. L17 - -$hg add - -.. R19 - -This simply adds all the files in the (working) directory, to the repository, As expected, the status command shows an A has been appeneded to the filenames. We could also specify files individually, for example - -.. L18 - -$ hg add filename - -.. R20 - -We have added a set of files to the repository, but we haven't told mercurial to remember these changes. Now let's take a snapshot of this working directory. This can be done by using commit command. - -.. L19 - -$hg commit -u "Primal Papppachan <primal007@gmail.com>" -m "Initial Commit." - -.. R20 - -The -u parameter allows to specify the user details. The parameter -m is used to attach a commit message which gives a description of the changes committed to the repository. Check the status of repository by typing - -.. L20 - -$ hg st - -.. R21 - -To see the history of changes made to our repository, we use hg log. We can view the change that we just made to our repoistory. - -.. L21 - -{{{Show the slide 'Thumbnail views'}}} - -.. R21 - -hg log gives the log of the changes made in the form of changesets. A changeset is a set of changes made to the repository between two consecutive commits. It also shows the date at which the commit was made. - - -.. R22 - -User information is set in the hgrc file. It can be either globally or locally to the project. - -.. L23 - -For linux systems - -cat ~8.hgrc -[ui] -username = Primal Pappachan <primal007@gmail.com> -editor = vim - - -.. R23 - - -We have now set the username details for mercurial to use. - -.. L24 - -{{{Show the slide 'Advice: commits, messages'}}} - -.. R24 - -1. Atomic changes; one change with one commit - -#. Single line summary — 60 to 65 characters long - -#. Followed by paragraphs of detailed description - - Why the change? - - What does it effect? - - Known bugs/issues? - - etc. - -.. L25 - -{{{Show the 'summary' slide'}}} - -.. R25 - -This brings us to the end of the tutorial. In this tutorial, we have -learnt to, - -.. L26 - -{{{Show self assessment questions slide}}} - -.. R26 - -Here are some self assessment questions for you to solve - -.. L27 - -{{{Show the solutions slide to self assessment questions }}} - -.. R27 - -And the answers, - - -.. L27 - -{{{Show the thank you slide}}} - -.. R28 - -Hope you have enjoyed this tutorial and found it useful. -Thank you - diff --git a/Version_Control/vcscript.aux b/Version_Control/vcscript.aux deleted file mode 100644 index ccfacc1..0000000 --- a/Version_Control/vcscript.aux +++ /dev/null @@ -1,18 +0,0 @@ -\relax -\ifx\hyper@anchor\@undefined -\global \let \oldcontentsline\contentsline -\gdef \contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}} -\global \let \oldnewlabel\newlabel -\gdef \newlabel#1#2{\newlabelxx{#1}#2} -\gdef \newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}} -\AtEndDocument{\let \contentsline\oldcontentsline -\let \newlabel\oldnewlabel} -\else -\global \let \hyper@last\relax -\fi - -\select@language{english} -\@writefile{toc}{\select@language{english}} -\@writefile{lof}{\select@language{english}} -\@writefile{lot}{\select@language{english}} -\newlabel{script}{{}{1}{\relax }{section*.1}{}} diff --git a/Version_Control/vcscript.log b/Version_Control/vcscript.log deleted file mode 100644 index 2fc5dc2..0000000 --- a/Version_Control/vcscript.log +++ /dev/null @@ -1,571 +0,0 @@ -This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=pdflatex 2011.8.30) 23 SEP 2011 17:05 -entering extended mode - %&-line parsing enabled. -**vcscript.tex -(./vcscript.tex -LaTeX2e <2009/09/24> -Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh -yphenation, loaded. -(/usr/share/texmf-texlive/tex/latex/base/article.cls -Document Class: article 2007/10/19 v1.4h Standard LaTeX document class -(/usr/share/texmf-texlive/tex/latex/base/size10.clo -File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) -) -\c@part=\count79 -\c@section=\count80 -\c@subsection=\count81 -\c@subsubsection=\count82 -\c@paragraph=\count83 -\c@subparagraph=\count84 -\c@figure=\count85 -\c@table=\count86 -\abovecaptionskip=\skip41 -\belowcaptionskip=\skip42 -\bibindent=\dimen102 -) -(/usr/share/texmf-texlive/tex/latex/base/fixltx2e.sty -Package: fixltx2e 2006/09/13 v1.1m fixes to LaTeX -LaTeX Info: Redefining \em on input line 420. -) -(/usr/share/texmf-texlive/tex/latex/cmap/cmap.sty -Package: cmap 2008/03/06 v1.0h CMap support: searchable PDF -) -(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty -Package: fontenc 2005/09/27 v1.99g Standard LaTeX package - -(/usr/share/texmf-texlive/tex/latex/base/t1enc.def -File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file -LaTeX Font Info: Redeclaring font encoding T1 on input line 43. -)<<t1.cmap>>) -(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty -Package: inputenc 2008/03/30 v1.1d Input encoding file -\inpenc@prehook=\toks14 -\inpenc@posthook=\toks15 - -(/usr/share/texmf-texlive/tex/latex/base/utf8.def -File: utf8.def 2008/04/05 v1.1m UTF-8 support for inputenc -Now handling font encoding OML ... -... no UTF-8 mapping file for font encoding OML -Now handling font encoding T1 ... -... processing UTF-8 mapping file for font encoding T1 - -(/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu -File: t1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc - defining Unicode char U+00A1 (decimal 161) - defining Unicode char U+00A3 (decimal 163) - defining Unicode char U+00AB (decimal 171) - defining Unicode char U+00BB (decimal 187) - defining Unicode char U+00BF (decimal 191) - defining Unicode char U+00C0 (decimal 192) - defining Unicode char U+00C1 (decimal 193) - defining Unicode char U+00C2 (decimal 194) - defining Unicode char U+00C3 (decimal 195) - defining Unicode char U+00C4 (decimal 196) - defining Unicode char U+00C5 (decimal 197) - defining Unicode char U+00C6 (decimal 198) - defining Unicode char U+00C7 (decimal 199) - defining Unicode char U+00C8 (decimal 200) - defining Unicode char U+00C9 (decimal 201) - defining Unicode char U+00CA (decimal 202) - defining Unicode char U+00CB (decimal 203) - defining Unicode char U+00CC (decimal 204) - defining Unicode char U+00CD (decimal 205) - defining Unicode char U+00CE (decimal 206) - defining Unicode char U+00CF (decimal 207) - defining Unicode char U+00D0 (decimal 208) - defining Unicode char U+00D1 (decimal 209) - defining Unicode char U+00D2 (decimal 210) - defining Unicode char U+00D3 (decimal 211) - defining Unicode char U+00D4 (decimal 212) - defining Unicode char U+00D5 (decimal 213) - defining Unicode char U+00D6 (decimal 214) - defining Unicode char U+00D8 (decimal 216) - defining Unicode char U+00D9 (decimal 217) - defining Unicode char U+00DA (decimal 218) - defining Unicode char U+00DB (decimal 219) - defining Unicode char U+00DC (decimal 220) - defining Unicode char U+00DD (decimal 221) - defining Unicode char U+00DE (decimal 222) - defining Unicode char U+00DF (decimal 223) - defining Unicode char U+00E0 (decimal 224) - defining Unicode char U+00E1 (decimal 225) - defining Unicode char U+00E2 (decimal 226) - defining Unicode char U+00E3 (decimal 227) - defining Unicode char U+00E4 (decimal 228) - defining Unicode char U+00E5 (decimal 229) - defining Unicode char U+00E6 (decimal 230) - defining Unicode char U+00E7 (decimal 231) - defining Unicode char U+00E8 (decimal 232) - defining Unicode char U+00E9 (decimal 233) - defining Unicode char U+00EA (decimal 234) - defining Unicode char U+00EB (decimal 235) - defining Unicode char U+00EC (decimal 236) - defining Unicode char U+00ED (decimal 237) - defining Unicode char U+00EE (decimal 238) - defining Unicode char U+00EF (decimal 239) - defining Unicode char U+00F0 (decimal 240) - defining Unicode char U+00F1 (decimal 241) - defining Unicode char U+00F2 (decimal 242) - defining Unicode char U+00F3 (decimal 243) - defining Unicode char U+00F4 (decimal 244) - defining Unicode char U+00F5 (decimal 245) - defining Unicode char U+00F6 (decimal 246) - defining Unicode char U+00F8 (decimal 248) - defining Unicode char U+00F9 (decimal 249) - defining Unicode char U+00FA (decimal 250) - defining Unicode char U+00FB (decimal 251) - defining Unicode char U+00FC (decimal 252) - defining Unicode char U+00FD (decimal 253) - defining Unicode char U+00FE (decimal 254) - defining Unicode char U+00FF (decimal 255) - defining Unicode char U+0102 (decimal 258) - defining Unicode char U+0103 (decimal 259) - defining Unicode char U+0104 (decimal 260) - defining Unicode char U+0105 (decimal 261) - defining Unicode char U+0106 (decimal 262) - defining Unicode char U+0107 (decimal 263) - defining Unicode char U+010C (decimal 268) - defining Unicode char U+010D (decimal 269) - defining Unicode char U+010E (decimal 270) - defining Unicode char U+010F (decimal 271) - defining Unicode char U+0110 (decimal 272) - defining Unicode char U+0111 (decimal 273) - defining Unicode char U+0118 (decimal 280) - defining Unicode char U+0119 (decimal 281) - defining Unicode char U+011A (decimal 282) - defining Unicode char U+011B (decimal 283) - defining Unicode char U+011E (decimal 286) - defining Unicode char U+011F (decimal 287) - defining Unicode char U+0130 (decimal 304) - defining Unicode char U+0131 (decimal 305) - defining Unicode char U+0132 (decimal 306) - defining Unicode char U+0133 (decimal 307) - defining Unicode char U+0139 (decimal 313) - defining Unicode char U+013A (decimal 314) - defining Unicode char U+013D (decimal 317) - defining Unicode char U+013E (decimal 318) - defining Unicode char U+0141 (decimal 321) - defining Unicode char U+0142 (decimal 322) - defining Unicode char U+0143 (decimal 323) - defining Unicode char U+0144 (decimal 324) - defining Unicode char U+0147 (decimal 327) - defining Unicode char U+0148 (decimal 328) - defining Unicode char U+014A (decimal 330) - defining Unicode char U+014B (decimal 331) - defining Unicode char U+0150 (decimal 336) - defining Unicode char U+0151 (decimal 337) - defining Unicode char U+0152 (decimal 338) - defining Unicode char U+0153 (decimal 339) - defining Unicode char U+0154 (decimal 340) - defining Unicode char U+0155 (decimal 341) - defining Unicode char U+0158 (decimal 344) - defining Unicode char U+0159 (decimal 345) - defining Unicode char U+015A (decimal 346) - defining Unicode char U+015B (decimal 347) - defining Unicode char U+015E (decimal 350) - defining Unicode char U+015F (decimal 351) - defining Unicode char U+0160 (decimal 352) - defining Unicode char U+0161 (decimal 353) - defining Unicode char U+0162 (decimal 354) - defining Unicode char U+0163 (decimal 355) - defining Unicode char U+0164 (decimal 356) - defining Unicode char U+0165 (decimal 357) - defining Unicode char U+016E (decimal 366) - defining Unicode char U+016F (decimal 367) - defining Unicode char U+0170 (decimal 368) - defining Unicode char U+0171 (decimal 369) - defining Unicode char U+0178 (decimal 376) - defining Unicode char U+0179 (decimal 377) - defining Unicode char U+017A (decimal 378) - defining Unicode char U+017B (decimal 379) - defining Unicode char U+017C (decimal 380) - defining Unicode char U+017D (decimal 381) - defining Unicode char U+017E (decimal 382) - defining Unicode char U+200C (decimal 8204) - defining Unicode char U+2013 (decimal 8211) - defining Unicode char U+2014 (decimal 8212) - defining Unicode char U+2018 (decimal 8216) - defining Unicode char U+2019 (decimal 8217) - defining Unicode char U+201A (decimal 8218) - defining Unicode char U+201C (decimal 8220) - defining Unicode char U+201D (decimal 8221) - defining Unicode char U+201E (decimal 8222) - defining Unicode char U+2030 (decimal 8240) - defining Unicode char U+2031 (decimal 8241) - defining Unicode char U+2039 (decimal 8249) - defining Unicode char U+203A (decimal 8250) - defining Unicode char U+2423 (decimal 9251) -) -Now handling font encoding OT1 ... -... processing UTF-8 mapping file for font encoding OT1 - -(/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu -File: ot1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc - defining Unicode char U+00A1 (decimal 161) - defining Unicode char U+00A3 (decimal 163) - defining Unicode char U+00B8 (decimal 184) - defining Unicode char U+00BF (decimal 191) - defining Unicode char U+00C5 (decimal 197) - defining Unicode char U+00C6 (decimal 198) - defining Unicode char U+00D8 (decimal 216) - defining Unicode char U+00DF (decimal 223) - defining Unicode char U+00E6 (decimal 230) - defining Unicode char U+00EC (decimal 236) - defining Unicode char U+00ED (decimal 237) - defining Unicode char U+00EE (decimal 238) - defining Unicode char U+00EF (decimal 239) - defining Unicode char U+00F8 (decimal 248) - defining Unicode char U+0131 (decimal 305) - defining Unicode char U+0141 (decimal 321) - defining Unicode char U+0142 (decimal 322) - defining Unicode char U+0152 (decimal 338) - defining Unicode char U+0153 (decimal 339) - defining Unicode char U+2013 (decimal 8211) - defining Unicode char U+2014 (decimal 8212) - defining Unicode char U+2018 (decimal 8216) - defining Unicode char U+2019 (decimal 8217) - defining Unicode char U+201C (decimal 8220) - defining Unicode char U+201D (decimal 8221) -) -Now handling font encoding OMS ... -... processing UTF-8 mapping file for font encoding OMS - -(/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu -File: omsenc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc - defining Unicode char U+00A7 (decimal 167) - defining Unicode char U+00B6 (decimal 182) - defining Unicode char U+00B7 (decimal 183) - defining Unicode char U+2020 (decimal 8224) - defining Unicode char U+2021 (decimal 8225) - defining Unicode char U+2022 (decimal 8226) -) -Now handling font encoding OMX ... -... no UTF-8 mapping file for font encoding OMX -Now handling font encoding U ... -... no UTF-8 mapping file for font encoding U - defining Unicode char U+00A9 (decimal 169) - defining Unicode char U+00AA (decimal 170) - defining Unicode char U+00AE (decimal 174) - defining Unicode char U+00BA (decimal 186) - defining Unicode char U+02C6 (decimal 710) - defining Unicode char U+02DC (decimal 732) - defining Unicode char U+200C (decimal 8204) - defining Unicode char U+2026 (decimal 8230) - defining Unicode char U+2122 (decimal 8482) - defining Unicode char U+2423 (decimal 9251) -)) -(/usr/share/texmf-texlive/tex/latex/base/ifthen.sty -Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC) -) -(/usr/share/texmf-texlive/tex/generic/babel/babel.sty -Package: babel 2008/07/06 v3.8l The Babel package - -(/usr/share/texmf-texlive/tex/generic/babel/english.ldf -Language: english 2005/03/30 v3.3o English support from the babel system - -(/usr/share/texmf-texlive/tex/generic/babel/babel.def -File: babel.def 2008/07/06 v3.8l Babel common definitions -\babel@savecnt=\count87 -\U@D=\dimen103 -) -\l@british = a dialect from \language\l@english -\l@UKenglish = a dialect from \language\l@english -\l@canadian = a dialect from \language\l@american -\l@australian = a dialect from \language\l@british -\l@newzealand = a dialect from \language\l@british -)) -(/usr/share/texmf-texlive/tex/latex/psnfss/mathptmx.sty -Package: mathptmx 2005/04/12 PSNFSS-v9.2a Times w/ Math, improved (SPQR, WaS) -LaTeX Font Info: Redeclaring symbol font `operators' on input line 28. -LaTeX Font Info: Overwriting symbol font `operators' in version `normal' -(Font) OT1/cmr/m/n --> OT1/ztmcm/m/n on input line 28. -LaTeX Font Info: Overwriting symbol font `operators' in version `bold' -(Font) OT1/cmr/bx/n --> OT1/ztmcm/m/n on input line 28. -LaTeX Font Info: Redeclaring symbol font `letters' on input line 29. -LaTeX Font Info: Overwriting symbol font `letters' in version `normal' -(Font) OML/cmm/m/it --> OML/ztmcm/m/it on input line 29. -LaTeX Font Info: Overwriting symbol font `letters' in version `bold' -(Font) OML/cmm/b/it --> OML/ztmcm/m/it on input line 29. -LaTeX Font Info: Redeclaring symbol font `symbols' on input line 30. -LaTeX Font Info: Overwriting symbol font `symbols' in version `normal' -(Font) OMS/cmsy/m/n --> OMS/ztmcm/m/n on input line 30. -LaTeX Font Info: Overwriting symbol font `symbols' in version `bold' -(Font) OMS/cmsy/b/n --> OMS/ztmcm/m/n on input line 30. -LaTeX Font Info: Redeclaring symbol font `largesymbols' on input line 31. -LaTeX Font Info: Overwriting symbol font `largesymbols' in version `normal' -(Font) OMX/cmex/m/n --> OMX/ztmcm/m/n on input line 31. -LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold' -(Font) OMX/cmex/m/n --> OMX/ztmcm/m/n on input line 31. -\symbold=\mathgroup4 -\symitalic=\mathgroup5 -LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 34. -LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal' -(Font) OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 34. -LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold' -(Font) OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 34. -LaTeX Font Info: Redeclaring math alphabet \mathit on input line 35. -LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal' -(Font) OT1/cmr/m/it --> OT1/ptm/m/it on input line 35. -LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold' -(Font) OT1/cmr/bx/it --> OT1/ptm/m/it on input line 35. -LaTeX Info: Redefining \hbar on input line 50. -) -(/usr/share/texmf-texlive/tex/latex/psnfss/helvet.sty -Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS) - -(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty -Package: keyval 1999/03/16 v1.13 key=value parser (DPC) -\KV@toks@=\toks16 -)) -(/usr/share/texmf-texlive/tex/latex/psnfss/courier.sty -Package: courier 2005/04/12 PSNFSS-v9.2a (WaS) -) -(/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty -Package: hyperref 2009/10/09 v6.79a Hypertext links for LaTeX - -(/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty -Package: ifpdf 2009/04/10 v2.0 Provides the ifpdf switch (HO) -Package ifpdf Info: pdfTeX in pdf mode detected. -) -(/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty -Package: ifvtex 2008/11/04 v1.4 Switches for detecting VTeX and its modes (HO) -Package ifvtex Info: VTeX not detected. -) -(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty -Package: ifxetex 2009/01/23 v0.5 Provides ifxetex conditional -) -(/usr/share/texmf-texlive/tex/latex/oberdiek/hycolor.sty -Package: hycolor 2009/10/02 v1.5 Code for color options of hyperref/bookmark (H -O) - -(/usr/share/texmf-texlive/tex/latex/oberdiek/xcolor-patch.sty -Package: xcolor-patch 2009/10/02 xcolor patch -)) -\@linkdim=\dimen104 -\Hy@linkcounter=\count88 -\Hy@pagecounter=\count89 - -(/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def -File: pd1enc.def 2009/10/09 v6.79a Hyperref: PDFDocEncoding definition (HO) -Now handling font encoding PD1 ... -... no UTF-8 mapping file for font encoding PD1 -) -(/usr/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty -Package: etexcmds 2007/12/12 v1.2 Prefix for e-TeX command names (HO) - -(/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty -Package: infwarerr 2007/09/09 v1.2 Providing info/warning/message (HO) -) -Package etexcmds Info: Could not find \expanded. -(etexcmds) That can mean that you are not using pdfTeX 1.50 or -(etexcmds) that some package has redefined \expanded. -(etexcmds) In the latter case, load this package earlier. -) -(/usr/share/texmf-texlive/tex/latex/latexconfig/hyperref.cfg -File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive -) -(/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty -Package: kvoptions 2009/08/13 v3.4 Keyval support for LaTeX options (HO) - -(/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty -Package: kvsetkeys 2009/07/30 v1.5 Key value parser with default handler suppor -t (HO) -)) -Package hyperref Info: Option `unicode' set `true' on input line 2864. - -(/usr/share/texmf-texlive/tex/latex/hyperref/puenc.def -File: puenc.def 2009/10/09 v6.79a Hyperref: PDF Unicode definition (HO) -Now handling font encoding PU ... -... no UTF-8 mapping file for font encoding PU -) -Package hyperref Info: Option `colorlinks' set `true' on input line 2864. -Package hyperref Info: Hyper figures OFF on input line 2975. -Package hyperref Info: Link nesting OFF on input line 2980. -Package hyperref Info: Hyper index ON on input line 2983. -Package hyperref Info: Plain pages OFF on input line 2990. -Package hyperref Info: Backreferencing OFF on input line 2995. - -Implicit mode ON; LaTeX internals redefined -Package hyperref Info: Bookmarks ON on input line 3191. -(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty -\Urlmuskip=\muskip10 -Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc. -) -LaTeX Info: Redefining \url on input line 3428. - -(/usr/share/texmf-texlive/tex/generic/oberdiek/bitset.sty -Package: bitset 2007/09/28 v1.0 Data type bit set (HO) - -(/usr/share/texmf-texlive/tex/generic/oberdiek/intcalc.sty -Package: intcalc 2007/09/27 v1.1 Expandable integer calculations (HO) -) -(/usr/share/texmf-texlive/tex/generic/oberdiek/bigintcalc.sty -Package: bigintcalc 2007/11/11 v1.1 Expandable big integer calculations (HO) - -(/usr/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty -Package: pdftexcmds 2009/09/23 v0.6 LuaTeX support for pdfTeX utility functions - (HO) - -(/usr/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty -Package: ifluatex 2009/04/17 v1.2 Provides the ifluatex switch (HO) -Package ifluatex Info: LuaTeX not detected. -) -(/usr/share/texmf-texlive/tex/generic/oberdiek/ltxcmds.sty -Package: ltxcmds 2009/08/05 v1.0 Some LaTeX kernel commands for general use (HO -) -) -Package pdftexcmds Info: LuaTeX not detected. -Package pdftexcmds Info: \pdf@primitive is available. -Package pdftexcmds Info: \pdf@ifprimitive is available. -))) -\Fld@menulength=\count90 -\Field@Width=\dimen105 -\Fld@charsize=\dimen106 -\Field@toks=\toks17 -Package hyperref Info: Hyper figures OFF on input line 4377. -Package hyperref Info: Link nesting OFF on input line 4382. -Package hyperref Info: Hyper index ON on input line 4385. -Package hyperref Info: backreferencing OFF on input line 4392. -Package hyperref Info: Link coloring ON on input line 4395. -Package hyperref Info: Link coloring with OCG OFF on input line 4402. -Package hyperref Info: PDF/A mode OFF on input line 4407. - -(/usr/share/texmf-texlive/tex/generic/oberdiek/atbegshi.sty -Package: atbegshi 2008/07/31 v1.9 At begin shipout hook (HO) -) -\Hy@abspage=\count91 -\c@Item=\count92 -\c@Hfootnote=\count93 -) -*hyperref using default driver hpdftex* -(/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def -File: hpdftex.def 2009/10/09 v6.79a Hyperref driver for pdfTeX -\Fld@listcount=\count94 -) (./vcscript.aux) -\openout1 = `vcscript.aux'. - -LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 30. -LaTeX Font Info: ... okay on input line 30. -LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 30. -LaTeX Font Info: ... okay on input line 30. -LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 30. -LaTeX Font Info: ... okay on input line 30. -LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 30. -LaTeX Font Info: ... okay on input line 30. -LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 30. -LaTeX Font Info: ... okay on input line 30. -LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 30. -LaTeX Font Info: ... okay on input line 30. -LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 30. -LaTeX Font Info: ... okay on input line 30. -LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 30. -LaTeX Font Info: ... okay on input line 30. -LaTeX Font Info: Try loading font information for T1+ptm on input line 30. - -(/usr/share/texmf-texlive/tex/latex/psnfss/t1ptm.fd -File: t1ptm.fd 2001/06/04 font definitions for T1/ptm. -) -\big@size=\dimen107 - -(/usr/share/texmf-texlive/tex/latex/graphics/color.sty -Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC) - -(/etc/texmf/tex/latex/config/color.cfg -File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive -) -Package color Info: Driver file: pdftex.def on input line 130. - -(/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def -File: pdftex.def 2010/03/12 v0.04p Graphics/color for pdfTeX -\Gread@gobject=\count95 - -(/usr/share/texmf-texlive/tex/context/base/supp-pdf.mkii -[Loading MPS to PDF converter (version 2006.09.02).] -\scratchcounter=\count96 -\scratchdimen=\dimen108 -\scratchbox=\box26 -\nofMPsegments=\count97 -\nofMParguments=\count98 -\everyMPshowfont=\toks18 -\MPscratchCnt=\count99 -\MPscratchDim=\dimen109 -\MPnumerator=\count100 -\everyMPtoPDFconversion=\toks19 -))) -Package hyperref Info: Link coloring ON on input line 30. - (/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty -Package: nameref 2007/05/29 v2.31 Cross-referencing by name of section - -(/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty -Package: refcount 2008/08/11 v3.1 Data extraction from references (HO) -) -\c@section@level=\count101 -) -LaTeX Info: Redefining \ref on input line 30. -LaTeX Info: Redefining \pageref on input line 30. - (./vcscript.out) -(./vcscript.out) -\@outlinefile=\write3 -\openout3 = `vcscript.out'. - -\AtBeginShipoutBox=\box27 -LaTeX Font Info: Try loading font information for OT1+ztmcm on input line 39 -. - (/usr/share/texmf-texlive/tex/latex/psnfss/ot1ztmcm.fd -File: ot1ztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OT1/ztmcm. -)<<ot1.cmap>> -LaTeX Font Info: Try loading font information for OML+ztmcm on input line 39 -. - (/usr/share/texmf-texlive/tex/latex/psnfss/omlztmcm.fd -File: omlztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OML/ztmcm. -)<<oml.cmap>> -LaTeX Font Info: Try loading font information for OMS+ztmcm on input line 39 -. - -(/usr/share/texmf-texlive/tex/latex/psnfss/omsztmcm.fd -File: omsztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OMS/ztmcm. -)<<oms.cmap>> -LaTeX Font Info: Try loading font information for OMX+ztmcm on input line 39 -. - -(/usr/share/texmf-texlive/tex/latex/psnfss/omxztmcm.fd -File: omxztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OMX/ztmcm. -)<<omx.cmap>> -LaTeX Font Info: Try loading font information for OT1+ptm on input line 39. - -(/usr/share/texmf-texlive/tex/latex/psnfss/ot1ptm.fd -File: ot1ptm.fd 2001/06/04 font definitions for OT1/ptm. -) -LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <12> not available -(Font) Font shape `OT1/ptm/b/n' tried instead on input line 39. -LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <9> not available -(Font) Font shape `OT1/ptm/b/n' tried instead on input line 39. -LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7> not available -(Font) Font shape `OT1/ptm/b/n' tried instead on input line 39. -\c@listcnt0=\count102 - [1 - -{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] -LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <10> not available -(Font) Font shape `OT1/ptm/b/n' tried instead on input line 193. -LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7.4> not available -(Font) Font shape `OT1/ptm/b/n' tried instead on input line 193. -LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <6> not available -(Font) Font shape `OT1/ptm/b/n' tried instead on input line 193. - [2] [3] (./vcscript.aux) ) -Here is how much of TeX's memory you used: - 6158 strings out of 495061 - 82700 string characters out of 1182621 - 146834 words of memory out of 3000000 - 9174 multiletter control sequences out of 15000+50000 - 27751 words of font info for 56 fonts, out of 3000000 for 9000 - 28 hyphenation exceptions out of 8191 - 40i,6n,23p,273b,388s stack positions out of 5000i,500n,10000p,200000b,50000s -{/usr/share/texmf-texlive/fonts/enc/dvips/base/8r.en -c}</usr/share/texmf-texlive/fonts/type1/urw/times/utmr8a.pfb> -Output written on vcscript.pdf (3 pages, 35936 bytes). -PDF statistics: - 56 PDF objects out of 1000 (max. 8388607) - 24 named destinations out of 1000 (max. 500000) - 21 words of extra memory for PDF output out of 10000 (max. 10000000) - diff --git a/Version_Control/vcscript.out b/Version_Control/vcscript.out deleted file mode 100644 index e69de29..0000000 --- a/Version_Control/vcscript.out +++ /dev/null diff --git a/Version_Control/vcscript.pdf b/Version_Control/vcscript.pdf Binary files differdeleted file mode 100644 index 4ce7606..0000000 --- a/Version_Control/vcscript.pdf +++ /dev/null diff --git a/Version_Control/vcscript.tex b/Version_Control/vcscript.tex deleted file mode 100644 index 361d653..0000000 --- a/Version_Control/vcscript.tex +++ /dev/null @@ -1,381 +0,0 @@ -% generated by Docutils <http://docutils.sourceforge.net/> -\documentclass[a4paper,english]{article} -\usepackage{fixltx2e} % LaTeX patches, \textsubscript -\usepackage{cmap} % fix search and cut-and-paste in PDF -\usepackage[T1]{fontenc} -\usepackage[utf8]{inputenc} -\usepackage{ifthen} -\usepackage{babel} - -%%% Custom LaTeX preamble -% PDF Standard Fonts -\usepackage{mathptmx} % Times -\usepackage[scaled=.90]{helvet} -\usepackage{courier} - -%%% User specified packages and stylesheets - -%%% Fallback definitions for Docutils-specific commands - -% hyperlinks: -\ifthenelse{\isundefined{\hypersetup}}{ - \usepackage[unicode,colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref} - \urlstyle{same} % normal text font (alternatives: tt, rm, sf) -}{} -\hypersetup{ - pdftitle={Script}, -} - -%%% Body -\begin{document} - -% Document title -\title{Script% - \phantomsection% - \label{script}} -\author{} -\date{} -\maketitle - -% Prerequisites - -% ------------- - -% None - -% Author : Primal Pappachan -% Internal Reviewer : - -% L1 - -\{\{\{ Show the first slide containing title, name of the production team along with the logo of MHRD\}\}\} - -% R1 - -Hello friends and welcome to the tutorial on 'Version Control with Hg' - -% L2 - -\{\{\{Show the slide containing the objectives\}\}\} - -% R2 - -At the end of this tutorial you will be able to -\newcounter{listcnt0} -\begin{list}{\arabic{listcnt0}.} -{ -\usecounter{listcnt0} -\setlength{\rightmargin}{\leftmargin} -} - -\item Understand what is Version Control and the need for it. - -\item Create and use repository on a daily basis -\end{list} - -% R3 - -First let's understand what Version Control is - -% L3 - -\{\{\{Show the slide 'what is version control'\}\}\} - -% R4 - -Version control is just a way to track your files over time and share them. This allows you to go back to older versions when something goes wrong, see what changed when and why, collaborate on a single piece of work with a bunch of people. - -Version control is just a way of backing up your files, before making changes to it. Most people would have cooked up their own version control system, without realizing there are tools built by others which takes the task much more organized and systematic. - -% L4 - -\{\{\{Show the slide 'Home-brewed'\}\}\} - -% R5 - -Let's look at an example of home-brew Version Control system - -Version control is just a way of backing up your files, before making changes to it. Most people would have cooked up their own version control system, without realizing there are tools built by others which takes the task much more organized and systematic. - -% L5 - -\{\{\{Show the slide 'Problems'\}\}\} - -Let's look at the various problems associated with this setup. - -% R6 - -Now let's move onto identifying the needs for a Version Control System. - -% L6 - -\{\{\{Show the slide 'The need for Version Control'\}\}\} - -% R7 -\setcounter{listcnt0}{0} -\begin{list}{\arabic{listcnt0}.} -{ -\usecounter{listcnt0} -\setlength{\rightmargin}{\leftmargin} -} - -\item To err is Human... - -\item By tracking the history of the project, an outsider can see the evolution of a project. - -\item Allows for effective collaboration on the project as everything is shared. - -\item Helps to identify which additions have broken down the project and thus aids in efficient tracking down of the bugs. - -\item It is good for a one man show as it is for a big group of people working on a project. -\end{list} - -% R8 - -It is similar to playing an Video game. -\setcounter{listcnt0}{0} -\begin{list}{\arabic{listcnt0}.} -{ -\usecounter{listcnt0} -\setlength{\rightmargin}{\leftmargin} -} - -\item We play games ins stages - -\item Once we finish a stage or a task - we SAVE - -\item We continue playing - -\item But, if necessary, we could choose from one of the saved states and start from there - -\item We could alter the course of the game -\end{list} - -% L7 - -\{\{\{Show the slide 'Mercurial or hg'\}\}\} - -% R9 - -Some of the Version Control tool available and used widely are: -\setcounter{listcnt0}{0} -\begin{list}{\arabic{listcnt0}.} -{ -\usecounter{listcnt0} -\setlength{\rightmargin}{\leftmargin} -} - -\item cvs(Concurrent Version Systems) - -\item svn(subversion) - -\item hg(mercurial) - -\item git -\end{list} - -% R10 - -Each of these tools have their own merits and demerits. In this tutorial we will be learning to use mercurial or hg. - -Let's now get into Installation - -% L8 - -sudo apt-get install mercurial - -% R11 - -For Windows, - -% L9 - -\url{http://mercurial.selenic.com/downloads/} - -Type 'hg' which lists out all the commands - -% L10 - -\$hg - -% R12 - -and 'hg version' which gives the version number. - -% L11 - -\$hg version - -% R13 - -Now why exactly is a repo? A repp/repository is a folder with all your files and a store of all the changes that were made to it. To save disk space, hg doesn't save all files, but only saves only a series of changes made to the files. - -% L13 - -\{\{\{Show the slide for 'We need a repo!'\}\}\} - -% R14 - -Let's now see how to initialize a repo - -% L14 - -cd working-directory/ - -\$hg init - -ls -a - -% R15 - -The .hg directory indicates that our book directory is now a hg repository. Mercurial keeps all the history of the changes made and a few other config files etc. in this directory. - -% L13 - -\$hg status - -% R15 - -Gives the status of our repo. As a beginner, use it often. - -% L14 - -\$hg help 'status' - -% R16 - -You can use 'hg help commandname' which gives the details about the command. For example. - -% L15 - -hg help status - -\{\{\{Show the slides for 'Status Codes'\}\}\} - -% R17 - -Have a look at what various status codes associated with files means. By looking at the codes, it is clear that our files are not yet being tracked by hg. Now Let's move onto Adding Files. - -% L16 - -\$hg status - -% R18 - -This shows that none of the files in the folder have not been added yet. - -% L17 - -\$hg add - -% R19 - -This simply adds all the files in the (working) directory, to the repository, As expected, the status command shows an A has been appeneded to the filenames. We could also specify files individually, for example - -% L18 - -\$ hg add filename - -% R20 - -We have added a set of files to the repository, but we haven't told mercurial to remember these changes. Now let's take a snapshot of this working directory. This can be done by using commit command. - -% L19 - -\$hg commit -u ``Primal Papppachan <\href{mailto:primal007@gmail.com}{primal007@gmail.com}>'' -m ``Initial Commit.'' - -% R20 - -The -u parameter allows to specify the user details. The parameter -m is used to attach a commit message which gives a description of the changes committed to the repository. Check the status of repository by typing - -% L20 - -\$ hg st - -% R21 - -To see the history of changes made to our repository, we use hg log. We can view the change that we just made to our repoistory. - -% L21 - -\{\{\{Show the slide 'Thumbnail views'\}\}\} - -% R21 - -hg log gives the log of the changes made in the form of changesets. A changeset is a set of changes made to the repository between two consecutive commits. It also shows the date at which the commit was made. - -% R22 - -User information is set in the hgrc file. It can be either globally or locally to the project. - -% L23 - -For linux systems - -cat \textasciitilde{}8.hgrc -{[}ui{]} -username = Primal Pappachan <\href{mailto:primal007@gmail.com}{primal007@gmail.com}> -editor = vim - -% R23 - -We have now set the username details for mercurial to use. - -% L24 - -\{\{\{Show the slide 'Advice: commits, messages'\}\}\} - -% R24 -\setcounter{listcnt0}{0} -\begin{list}{\arabic{listcnt0}.} -{ -\usecounter{listcnt0} -\setlength{\rightmargin}{\leftmargin} -} - -\item Atomic changes; one change with one commit - -\item Single line summary — 60 to 65 characters long - -\item Followed by paragraphs of detailed description -- Why the change? -- What does it effect? -- Known bugs/issues? -- etc. -\end{list} - -% L25 - -\{\{\{Show the 'summary' slide'\}\}\} - -% R25 - -This brings us to the end of the tutorial. In this tutorial, we have -learnt to, - -% L26 - -\{\{\{Show self assessment questions slide\}\}\} - -% R26 - -Here are some self assessment questions for you to solve - -% L27 - -\{\{\{Show the solutions slide to self assessment questions \}\}\} - -% R27 - -And the answers, - -% L27 - -\{\{\{Show the thank you slide\}\}\} - -% R28 - -Hope you have enjoyed this tutorial and found it useful. -Thank you - -\end{document} |