monotone

monotone Mtn Source Tree

Root/CVS_prot

1------- migration ------------
2
3for i in `mt ls branches` ; do echo $i ; (~/localcvs/mt.cvs/monotone -b$i cvs_migrate >>/tmp/x) ; done
4
5------------------------------
6
7commands with a capital letter do not give a response
8first command must be Root (only as first command)
9
10Interesting commands:
11 Checkin-time Gzip-stream
12 list status history annotate
13
14history -c -l -a -w ?
15
16rlist -e christof/mf
17[-de]
18cvs rls: Listing module: `christof/mf'
19/slantsl.mf/1.1.1.1/Mon Nov 18 14:03:17 1996//
20/steno.mf/1.1.1.1/Mon Nov 18 14:03:17 1996//
21
22rlist -l christof/mf
23cvs rls: Listing module: `christof/mf'
24---- 1996-11-18 14:03:17 +0000 1.1.1.1 slantsl.mf
25---- 1996-11-18 14:03:17 +0000 1.1.1.1 steno.mf
26
27Root /usr/local/cvsroot
28Valid-responses ok error Valid-requests Checked-in New-entry Checksum Copy-file Updated Created Update-existing Merged Patched Rcs-diff Mode Mod-time Removed Remove-entry Set-static-directory Clear-static-directory Set-sticky Clear-sticky Template Clear-template Notified Module-expansion Wrapper-rcsOption M Mbinary E F MT
29valid-requests
30UseUnchanged
31Argument -d
32Argument -P
33Argument -u
34Argument --
35Directory .
36/usr/local/cvsroot/christof/tex
37Entry /.cvsignore/1.1.1.1///
38Unchanged .cvsignore
39Entry /c....tgz/1.1//-ko/
40Unchanged c...s.tgz
41Directory a...um
42/usr/local/cvsroot/christof/tex/a...um
43Entry /te....tex/1.21///
44Modified te....tex
45u=rw,g=rw,o=r
461762
47...
48Questionable F...nst.txt
49update
50
51
52---- how
53
54Root
55...
56rlist -Red
57...
58feststellen, welche Versionen vermutlich importiert sind und welche fehlen
59(nur timestamp)
60
61fehlende revisions/cmanifests mittels
62rlog -d 'Jun 20 09:38:29 1997<Jun 20 09:38:29 2000' christof/localsrc/indent2.c
63aufbauen [cmanifest= (path,version)*]
64
65(log optionen -b? -N -r1.7::)
66
67fehlende manifests inkrementell durch patch request besorgen
68(evtl. bekannte Version mitnehmen)
69
70Option: letztes erkanntes manifest prüfen
71
72----- Update mit Checksum
73Directory .
74/usr/local/cvsroot/christof/tex/alptraum
75Entry /alptraum.tex/1.1///
76Unchanged alptraum.tex
77update
78
79Clear-static-directory ./
80/usr/local/cvsroot/christof/tex/alptraum/
81Clear-sticky ./
82MT text P
83MT fname alptraum.tex
84E cvs update: Updating .
85MT text P
86MT fname alptraum.tex
87MT newline
88Checksum 35a9f38ba4c2f329d8b840adbe41e169
89Rcs-diff ./
90/usr/local/cvsroot/christof/tex/alptraum/alptraum.tex
91/alptraum.tex/1.2///
92u=rw,g=r,o=r
9366
94a0 1
95% $Id: alptraum.tex,v 1.2 1997/03/27 08:52:56 christof Exp $
96Clear-sticky ./
97/usr/local/cvsroot/christof/tex/alptraum/
98ok
99
100
101----- syntax
102monotone pull [--branch foo] cvs://localhost/usr/local/cvsroot module[:branch]
103
104----- push
105find the last available revision
106for each unique(!) successor commit each changed file (with timestamp)
107
108---- thoughts
109changed changelogs/dates will result in ugly fork forests
110
111we might use update with all files to check which files are dead
112 "Removed name\n"
113
114-----
115rls -lRPd scheint geeigneter zu sein:
116d--- 2005-01-08 23:57:35 +0000 WWW
117-kb 1998-05-28 08:18:53 +0000 1.1 cpcline-1.0.tgz
118---- 1998-07-17 13:52:32 +0000 1.2 dead glademm-010-011.patch.gz
119---- 1996-11-18 14:27:15 +0000 1.1.1.1 beowulf.asc
120---- 2005-01-09 00:05:39 +0000 1.1.2.1.2+ XX
121dann cvs -d /tmp/y rls -r b3 -edR test
122/XX/1.1.2.1.2.1.2.1/Sun Jan 9 00:05:39 2005//Tb3
123ohne -d
124---- 2005-01-09 00:05:39 +0000 1.1.2.1.2+ XX
125
126------ Problems:
127what about the time zone offset when communicating with a CVS server
128
129--------------------------------------------------------
130branch update:
131
132we need to store the branch inside the CVS tag, once non-HEAD revisions occur
133we can use log -r NAME. to get the latest revision info
134we can use log -r NAME to get the radix for the branch
135
136-N -S?
137
138-------------------- TODO ------------------------------
139correct < when calculating manifests
140faster initial db-access (multimap? without timestamp access?)
141
142tests: md5sum failure
143 merge+commit without changes
144
145enhancement: erase_ancestors will drastically reduce memory footprint
146use interner for cvs_revisions, author and changelog
147
148tests: time jump import
149 takeover modified, cvs commit changed (conflict), pull (MD5 sum failure)
150 pull, repull, merge, commit, push
151 takeover modified, repull, merge+push (two contents for one revision)
152
153pull since future (two hours), push/commit, pull again (gives dismonotoneous
154time)
155
156binary files, execution permission

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status