Hex Artifact Content
Not logged in

Artifact 4575c45948b2be705de539cba2d34f8bb4a8e8f5:

Wiki page [fossil extra] by anonymous on 2008-11-09 16:32:43.

0000: 44 20 32 30 30 38 2d 31 31 2d 30 39 54 31 36 3a  D 2008-11-09T16:
0010: 33 32 3a 34 33 0a 4c 20 66 6f 73 73 69 6c 5c 73  32:43.L fossil\s
0020: 65 78 74 72 61 0a 50 20 66 35 34 64 36 35 64 32  extra.P f54d65d2
0030: 34 38 38 35 36 66 35 64 34 31 63 64 62 37 38 38  48856f5d41cdb788
0040: 65 61 31 35 61 66 35 39 65 34 61 37 37 35 33 65  ea15af59e4a7753e
0050: 0a 55 20 61 6e 6f 6e 79 6d 6f 75 73 0a 57 20 31  .U anonymous.W 1
0060: 33 37 33 0a 3c 68 32 3e 65 78 74 72 61 3c 2f 68  373.<h2>extra</h
0070: 32 3e 0d 0a 0d 0a 54 68 65 20 3c 63 6f 64 65 3e  2>....The <code>
0080: 65 78 74 72 61 3c 2f 63 6f 64 65 3e 20 63 6f 6d  extra</code> com
0090: 6d 61 6e 64 20 69 73 20 69 6e 66 6f 72 6d 61 74  mand is informat
00a0: 69 6f 6e 61 6c 2c 20 69 74 20 64 6f 65 73 6e 27  ional, it doesn'
00b0: 74 20 64 6f 20 61 6e 79 74 68 69 6e 67 20 74 6f  t do anything to
00c0: 0d 0a 61 20 63 68 65 63 6b 65 64 2d 6f 75 74 20  ..a checked-out 
00d0: 70 72 6f 6a 65 63 74 2c 20 62 75 74 20 69 74 20  project, but it 
00e0: 74 65 6c 6c 73 20 79 6f 75 20 73 6f 6d 65 74 68  tells you someth
00f0: 69 6e 67 20 61 62 6f 75 74 20 69 74 2e 0d 0a 0d  ing about it....
0100: 0a 45 78 74 72 61 20 66 69 6c 65 73 20 61 72 65  .Extra files are
0110: 20 66 69 6c 65 73 20 74 68 61 74 20 65 78 69 73   files that exis
0120: 74 20 69 6e 20 61 20 63 68 65 63 6b 65 64 2d 6f  t in a checked-o
0130: 75 74 20 70 72 6f 6a 65 63 74 2c 20 62 75 74 20  ut project, but 
0140: 64 6f 6e 27 74 20 62 65 6c 6f 6e 67 20 74 6f 0d  don't belong to.
0150: 0a 74 68 65 20 72 65 70 6f 73 69 74 6f 72 79 2e  .the repository.
0160: 0d 0a 0d 0a 54 68 65 20 3c 63 6f 64 65 3e 66 6f  ....The <code>fo
0170: 73 73 69 6c 20 65 78 74 72 61 3c 2f 63 6f 64 65  ssil extra</code
0180: 3e 20 63 6f 6d 6d 61 6e 64 20 77 69 6c 6c 20 67  > command will g
0190: 65 74 20 79 6f 75 20 61 20 6c 69 73 74 20 6f 66  et you a list of
01a0: 20 74 68 65 73 65 20 66 69 6c 65 73 2e 0d 0a 0d   these files....
01b0: 0a 54 68 69 73 20 69 73 20 63 6f 6e 76 65 6e 69  .This is conveni
01c0: 65 6e 74 20 66 6f 72 20 66 69 67 75 72 69 6e 67  ent for figuring
01d0: 20 6f 75 74 20 69 66 20 79 6f 75 27 76 65 20 3c   out if you've <
01e0: 63 6f 64 65 3e 61 64 64 3c 2f 63 6f 64 65 3e 65  code>add</code>e
01f0: 64 20 65 76 65 72 79 20 66 69 6c 65 0d 0a 74 68  d every file..th
0200: 61 74 20 6e 65 65 64 73 20 74 6f 20 62 65 20 69  at needs to be i
0210: 6e 20 74 68 65 20 72 65 70 6f 73 69 74 6f 72 79  n the repository
0220: 20 62 65 66 6f 72 65 20 79 6f 75 20 64 6f 20 61   before you do a
0230: 20 63 6f 6d 6d 69 74 2e 20 20 49 74 20 77 69 6c   commit.  It wil
0240: 6c 20 61 6c 73 6f 0d 0a 74 65 6c 6c 20 79 6f 75  l also..tell you
0250: 20 77 68 61 74 20 77 69 6c 6c 20 62 65 20 72 65   what will be re
0260: 6d 6f 76 65 64 20 69 66 20 79 6f 75 20 3c 63 6f  moved if you <co
0270: 64 65 3e 63 6c 65 61 6e 3c 2f 63 6f 64 65 3e 20  de>clean</code> 
0280: 74 68 65 20 70 72 6f 6a 65 63 74 2e 0d 0a 0d 0a  the project.....
0290: 53 75 70 70 6f 73 65 2c 20 66 6f 72 20 65 78 61  Suppose, for exa
02a0: 6d 70 6c 65 2c 20 79 6f 75 20 68 61 76 65 20 61  mple, you have a
02b0: 20 22 6e 6f 6f 64 6c 65 2e 73 72 63 22 20 66 69   "noodle.src" fi
02c0: 6c 65 20 61 73 20 61 20 73 63 72 61 74 63 68 20  le as a scratch 
02d0: 70 61 64 20 66 6f 72 20 73 6f 75 72 63 65 0d 0a  pad for source..
02e0: 63 6f 64 65 2c 20 61 6e 64 20 79 6f 75 20 64 6f  code, and you do
02f0: 6e 27 74 20 77 61 6e 74 20 74 6f 20 69 6e 63 6c  n't want to incl
0300: 75 64 65 20 79 6f 75 72 20 6c 61 74 65 73 74 20  ude your latest 
0310: 68 61 72 65 2d 62 72 61 69 6e 65 64 20 69 64 65  hare-brained ide
0320: 61 73 20 69 6e 20 74 68 65 0d 0a 72 65 70 6f 73  as in the..repos
0330: 69 74 6f 72 79 3f 20 20 59 6f 75 20 64 6f 6e 27  itory?  You don'
0340: 74 20 3c 63 6f 64 65 3e 61 64 64 3c 2f 63 6f 64  t <code>add</cod
0350: 65 3e 20 69 74 20 74 6f 20 74 68 65 20 72 65 70  e> it to the rep
0360: 6f 73 69 74 6f 72 79 2c 20 6f 66 20 63 6f 75 72  ository, of cour
0370: 73 65 26 23 38 32 31 32 3b 74 68 6f 75 67 68 20  se&#8212;though 
0380: 74 68 65 72 65 20 61 72 65 20 77 61 79 73 20 79  there are ways y
0390: 6f 75 20 6d 69 67 68 74 20 61 64 64 20 69 74 20  ou might add it 
03a0: 75 6e 69 6e 74 65 6e 74 69 6f 6e 61 6c 6c 79 2e  unintentionally.
03b0: 20 20 49 66 20 79 6f 75 72 0d 0a 70 72 6f 6a 65    If your..proje
03c0: 63 74 20 69 73 20 62 69 67 2c 20 61 6e 64 20 79  ct is big, and y
03d0: 6f 75 20 77 61 6e 74 20 74 6f 20 66 69 6e 64 20  ou want to find 
03e0: 6e 6f 6f 64 6c 65 2e 73 72 63 2c 20 61 6e 64 20  noodle.src, and 
03f0: 61 6e 79 74 68 69 6e 67 20 65 6c 73 65 20 74 68  anything else th
0400: 61 74 20 69 73 6e 27 74 0d 0a 75 6e 64 65 72 20  at isn't..under 
0410: 73 6f 75 72 63 65 20 63 6f 6e 74 72 6f 6c 20 77  source control w
0420: 69 74 68 69 6e 20 74 68 65 20 70 72 6f 6a 65 63  ithin the projec
0430: 74 20 64 69 72 65 63 74 6f 72 69 65 73 2c 20 74  t directories, t
0440: 68 65 6e 20 0d 0a 3c 63 6f 64 65 3e 66 6f 73 73  hen ..<code>foss
0450: 69 6c 26 6e 62 73 70 3b 65 78 74 72 61 3c 2f 63  il&nbsp;extra</c
0460: 6f 64 65 3e 20 77 69 6c 6c 20 67 69 76 65 20 79  ode> will give y
0470: 6f 75 20 61 20 6c 69 73 74 2e 0d 0a 0d 0a 49 66  ou a list.....If
0480: 20 79 6f 75 20 64 6f 6e 27 74 20 74 68 69 6e 6b   you don't think
0490: 20 74 68 69 73 20 69 73 20 61 6c 6c 20 74 68 61   this is all tha
04a0: 74 20 75 73 65 66 75 6c 2c 20 74 68 65 6e 20 79  t useful, then y
04b0: 6f 75 27 76 65 20 6e 65 76 65 72 20 68 61 64 20  ou've never had 
04c0: 74 6f 20 77 72 69 74 65 0d 0a 61 20 73 68 65 6c  to write..a shel
04d0: 6c 20 73 63 72 69 70 74 20 74 68 61 74 20 6f 6e  l script that on
04e0: 6c 79 20 61 66 66 65 63 74 73 20 70 72 6f 6a 65  ly affects proje
04f0: 63 74 20 66 69 6c 65 73 20 61 6e 64 20 6c 65 61  ct files and lea
0500: 76 65 73 20 65 76 65 72 79 74 68 69 6e 67 0d 0a  ves everything..
0510: 65 6c 73 65 20 61 6c 6f 6e 65 2e 20 20 3b 29 0d  else alone.  ;).
0520: 0a 0d 0a 54 68 65 20 3c 63 6f 64 65 3e 65 78 74  ...The <code>ext
0530: 72 61 3c 2f 63 6f 64 65 3e 20 63 6f 6d 6d 61 6e  ra</code> comman
0540: 64 20 69 73 20 61 6c 6d 6f 73 74 2c 20 62 75 74  d is almost, but
0550: 20 6e 6f 74 20 71 75 69 74 65 20 65 6e 74 69 72   not quite entir
0560: 65 6c 79 2c 20 74 68 65 20 65 78 61 63 74 0d 0a  ely, the exact..
0570: 6f 70 70 6f 73 69 74 65 20 6f 66 20 74 68 65 20  opposite of the 
0580: 3c 63 6f 64 65 3e 6c 73 3c 2f 63 6f 64 65 3e 20  <code>ls</code> 
0590: 63 6f 6d 6d 61 6e 64 2e 0d 0a 0d 0a 53 65 65 20  command.....See 
05a0: 61 6c 73 6f 3a 20 5b 66 6f 73 73 69 6c 20 63 6c  also: [fossil cl
05b0: 65 61 6e 5d 2c 20 5b 66 6f 73 73 69 6c 20 6c 73  ean], [fossil ls
05c0: 5d 0a 5a 20 30 39 61 31 32 62 32 64 36 63 39 33  ].Z 09a12b2d6c93
05d0: 65 65 31 34 36 61 63 30 66 30 32 34 38 32 61 63  ee146ac0f02482ac
05e0: 30 31 31 61 0a                                   011a.