[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Rudimentary commits

From: Ben Collins-Sussman <sussman_at_newton.ch.collab.net>
Date: 2001-03-15 18:11:57 CET

On the way to work today I thought, "gee, now that checkouts work, I
think we're really close to getting commits too."

Lo and behold, cmpilato's last changes to svn_client_commit were the
key. Rudimentary commits work now, insofar as local file changes are
sent to the repos. We'll have `svn add' and `svn del' working soon.

Here's a sample transcript:

[sussman_at_newton: libsvn_fs]$ svn co file:///home/sussman/projects/subversion/subversion/tests/libsvn_fs/test-repo-basic-commit -d wc
A wc/A
A wc/A/B
A wc/A/B/lambda
A wc/A/B/E
A wc/A/B/E/alpha
A wc/A/B/E/beta
A wc/A/B/F
A wc/A/mu
A wc/A/C
A wc/A/D
A wc/A/D/gamma
A wc/A/D/G
A wc/A/D/G/rho
A wc/A/D/G/pi
A wc/A/D/G/tau
A wc/A/D/H
A wc/A/D/H/chi
A wc/A/D/H/omega
A wc/A/D/H/psi
A wc/iota

[sussman@newton: libsvn_fs]$ cat >> wc/iota

aoeuao

[sussman@newton: libsvn_fs]$ cd wc

[sussman@newton: wc]$ svn ci
Changing ./iota
Commit succeeded.

[sussman@newton: wc]$ svn status
_ 1 ( none ) .
_ 1 ( none ) ./A
_ 1 ( none ) ./A/B
_ 1 ( none ) ./A/B/E
_ 1 ( none ) ./A/B/E/alpha
_ 1 ( none ) ./A/B/E/beta
_ 1 ( none ) ./A/B/F
_ 1 ( none ) ./A/B/lambda
_ 1 ( none ) ./A/C
_ 1 ( none ) ./A/D
_ 1 ( none ) ./A/D/G
_ 1 ( none ) ./A/D/G/pi
_ 1 ( none ) ./A/D/G/rho
_ 1 ( none ) ./A/D/G/tau
_ 1 ( none ) ./A/D/H
_ 1 ( none ) ./A/D/H/chi
_ 1 ( none ) ./A/D/H/omega
_ 1 ( none ) ./A/D/H/psi
_ 1 ( none ) ./A/D/gamma
_ 1 ( none ) ./A/mu
_ 2 ( none ) ./iota

[sussman@newton: wc]$ more iota
This is the file 'iota'.

aoeuao

[sussman_at_newton: libsvn_fs]$ svn co file:///home/sussman/projects/subversion/subversion/tests/libsvn_fs/test-repo-basic-commit -d wc2
A wc2/A
A wc2/A/B
A wc2/A/B/lambda
A wc2/A/B/E
A wc2/A/B/E/alpha
A wc2/A/B/E/beta
A wc2/A/B/F
A wc2/A/mu
A wc2/A/C
A wc2/A/D
A wc2/A/D/gamma
A wc2/A/D/G
A wc2/A/D/G/rho
A wc2/A/D/G/pi
A wc2/A/D/G/tau
A wc2/A/D/H
A wc2/A/D/H/chi
A wc2/A/D/H/omega
A wc2/A/D/H/psi
A wc2/iota

[sussman@newton: libsvn_fs]$ svn status wc2
_ 2 ( none ) wc2
_ 2 ( none ) wc2/A
_ 2 ( none ) wc2/A/B
_ 2 ( none ) wc2/A/B/E
_ 2 ( none ) wc2/A/B/E/alpha
_ 2 ( none ) wc2/A/B/E/beta
_ 2 ( none ) wc2/A/B/F
_ 2 ( none ) wc2/A/B/lambda
_ 2 ( none ) wc2/A/C
_ 2 ( none ) wc2/A/D
_ 2 ( none ) wc2/A/D/G
_ 2 ( none ) wc2/A/D/G/pi
_ 2 ( none ) wc2/A/D/G/rho
_ 2 ( none ) wc2/A/D/G/tau
_ 2 ( none ) wc2/A/D/H
_ 2 ( none ) wc2/A/D/H/chi
_ 2 ( none ) wc2/A/D/H/omega
_ 2 ( none ) wc2/A/D/H/psi
_ 2 ( none ) wc2/A/D/gamma
_ 2 ( none ) wc2/A/mu
_ 2 ( none ) wc2/iota

[sussman@newton: libsvn_fs]$ more wc2/iota
This is the file 'iota'.

aoeuao
Received on Sat Oct 21 14:36:26 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.