Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
subversion quick reference card

subversion quick reference card

Ratings:

4.0

(1)
|Views: 35|Likes:
Published by adrianshephard

More info:

Published by: adrianshephard on Dec 26, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

02/01/2013

pdf

text

original

Subversion Q uick Reference Card
$ R e v :
2 8
$
S u b v e r s io n
is a version control system

that is a replacem ent for C V S. It has m ost of C V S\u2019s features. G enerally, Subversion\u2019s interface to a particular feature is sim ilar to C V S\u2019s, except w here there\u2019s a com pelling reason to do otherw ise.

Q uick start
s v n a d m i n
c r e a t e
/ v a r / s v n r o o t
s v n
i m p o r tL o c a l D i r f i l e : / / / v a r / s v n r o o t /P r o j e c t N a m e
s v n
c h e c k o u t

f i l e : / / / v a r / s v n r o o t /P r o j e c t N a m e
c dP r o j e c t N a m e
s v n

h e l p
[c o m m a n d ]
Subversion URLs
f i l e : / /
D irect repository access (on local disk).
h t t p : / /
Access via W ebDAV protocol to Subversion-aware
A pache server.
h t t p s : / /
Sam e ash t t p : / / , but w ith SSL encryption.
s v n : / /
A ccess via custom protocol to ans v n s e r v e server.
s v n + s s h : / /
Sam e ass v n : / / , but through an SSH tunnel.
s v nsubcom m ands
a d d
A dds \ufb01les and directories.
b l a m e
(p r a i s e ,
a n n o t a t e,
a n n) Shows author and

r e - vision inform ation in-line for the speci\ufb01ed \ufb01les or U R L s.

c a t
O utputs the contents of the speci\ufb01ed \ufb01les or U R Ls.
c h e c k o u t
(c o ) C hecks out a working copy from a repository.
c l e a n u p
R ecursively clean up the working copy.
c o m m i t
(c i ) Send changes from
your working copy to the
r e p o s it o r y .
c o p y
(c p ) C opy a \ufb01le or directory in a working copy or
in the repository.
d e l e t e
(d e l ,r e m o v e ,r m ) D elete an item
f r o m
a working
copy or the repository.
d i f f
(d i ) D isplay the di\ufb00erences between two paths.
e x p o r t
E xports a clean directory tree.
h e l p
P rints help text.
i m p o r t
R ecursively com m it a copy of local dir into a rep os-
it o r y .
i n f o
Print inform ation about PATH s.
l i s t
(l s ) L ist directory entries in the repository.
l o g
D isplays com m it log m essages.
1
m e r g e
A pply the di\ufb00erences b etw een tw o sources to a w ork-
ing copy path.
m k d i r
C reate a new directory under version control.
m o v e
(m v ,r e n a m e ,r e n ) M ove a \ufb01le or directory.
p r o p d e l
(p d e l ,p d ) R em ove a property from an item .
p r o p e d i t
(p e d i t ,p e ) E dit the property of one or m ore item s
under version control.
p r o p g e t
(p g e t ,p g ) P rints the value of a prop erty.
p r o p l i s t
(p l i s t ,p l ) L ists all prop erties.
p r o p s e t
(p s e t ,p s ) Sets a property on \ufb01les, directories, or
r e v is io n s .
r e s o l v e d
Rem ove con\ufb02icted state on working copy \ufb01les or
d ir e c t o r ie s .
r e v e r t
U n d o a ll lo c a l e d it s .
s t a t u s
(s t a t ,s t ) Print the status of working copy \ufb01les
and directories.
s w i t c h
(s w ) U pdate working copy to a di\ufb00erent U R L.
u p d a t e
(u p ) U pdates your working copy.
s v ns w it c h e s
- - c o n f i g - d i r
D I R
R ead con\ufb01guration from
D I Rinstead of~ / . s u b v e r s i o n .
- - d i f f - c m d
C M D
U se external program
C M Dfor generatingd i f f output in-
stead of internal di\ufb00 engine.
- - d i f f 3 - c m d
C M D
U se external program
C M Dfor m erging \ufb01les.
- - d r y - r u n
Run the com m and without changing anything.
- - e d i t o r - c m d
C M D
U se external program
C M Dfor ed itin g \ufb01 les.
- - e n c o d i n g
E N C
Instructs Subversion to use enco dingE N C to store log m es-
s a g e s .
- - e x t e n s i o n s
A R G
( - x )
A dditional argum ents for external di\ufb00, eg.:s v n
- - d i f f - c m d
d i f f
- x
- - n o r m a l
d i f f
m a i n . c.
- - f i l e
F I L E
( - F )
U se the contents of \ufb01leF I L E
as an argum ent for a given
subcom m and.
- - f o r c e
Forces a particular subcom m and to run.
- - f o r c e - l o g
Forces a suspicious param eter passed to the- - m e s s a g e
options to be accepted as valid.
- - h e l p
( - ho r - ?)
P rints help for a given com m and or general help text.
2
- - i g n o r e - a n c e s t r y
Ignore ancestry w hen calculating di\ufb00erences (rely on path
contents alone).
- - i n c r e m e n t a l
Prints output in a form at suitable for concatenation.
- - m e s s a g e
( - m )
M S G
Sp ecify a com m it m essageM S G .
- - n o - a u t h - c a c h e
P revents caching of authentication inform ation.
- - n o - a u t o - p r o p s
Disablea u t o - p r o p s , overriding thee n a b l e - a u t o - p r o p s
directive in the con\ufb01g \ufb01le.
- - n o - d i f f - d e l e t e d
Prevents Subversion from
printing di\ufb00erences for deleted
\ufb01 le s .
- - n o - i g n o r e

Shows \ufb01les in the status listing that would norm ally be om itted since they m atch a pattern in thes v n : i g n o r e p r o p e r t y .

- - n o n - i n t e r a c t i v e
Prevents prom pting for authentication inform ation.
- - n o n - r e c u r s i v e
( - N )
Stops a subcom m and from recursing into subdirectories.
- - n o t i c e - a n c e s t r y
Pay attention to ancestry w hen calculating di\ufb00erences.
- - o l d
A R G
U sesA R G as the older target.
- - p a s s w o r d
P A S S
Password for authentication.
- - q u i e t
( - q )
Print only essential inform ation while perform ing an op-
e r a t io n .
- - r e c u r s i v e
( - R )
M akes a subcom m and recurse into subdirectories.
- - r e l o c a t e
F R O M
T O
[P A T H . . . ]
U sed w ith thes v n
s w i t c hsubcom m and, changes the lo-
cation of the rep ository that your w orking copy references.
- - r e v i s i o n
R E V
( - r )
S u p p ly a r e v is io nR E V
(or range of revisions) for a partic-
ular operation.
- - r e v p r o p

O perates on a revision property instead of a Subversion prop erty sp eci\ufb01c to a \ufb01le or directory (requires- - r e v i s i o n sw itch ).

- - s h o w - u p d a t e s
( - u )
C auses the client to display inform ation about w hich \ufb01les
in your working copy are out-of-date.
3

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->