Testing the ” Svn Diff ” Command

17 Sep

Steps for Testing the diff command:

1.create the own repository

$mkdir test

$cd test

$svnadmin create srepo

$cd ~

2. Creating working copy

$mkdir wc

$cd wc

$svn checkout file:///home/user/test/srepo wcopy

$cd wcopy

3. Adding file in working copy

$vi test.txt

(write some lines)

$svn add test.txt

4. Performing the Diff

$svn diff

5. Performing the commit

$svn commit

//(svn commit -m “first commit”)


2 Responses to “Testing the ” Svn Diff ” Command”

  1. kavitha 09/24/2010 at 9:50 am #

    What happens after running a diff command ?

    • brittoc 09/24/2010 at 10:02 am #

      It shows local modifications

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: