[dim] dim-0.5.5-pb3

2009-11-26 Thread Philippe Bergheaud
dim-0.5.5-pb3
  Fixed a bug in update_sum() for symlinks.

  To find regular file changes, we use the following expression:
find versiondir -type f '(' -cnewer scanfile -o -links 1 ')'

  The empty file scanfile stores the time of the last scan.
  The version directory is maintained by 'dim add|del'.

  Files in the version directory are hard linked to the
  corresponding file in the clone directory.  After the user
  changes the contents of a file in the clone, either
 
  1. the hard link is preserved, and the change is detected by
-cnewer scanfile

  2. or the hard link is broken, and the change is detected by
-links 1

  For symlinks, we cannot use the hard link trick, because
  hardlinking symlinks is not portable.  We have to use an
  absolute scan each time:
find versiondir -type l

  Work in progress - Do not use this version!
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] dim-0.5.5-pb4

2009-11-26 Thread Philippe Bergheaud
dim-0.5.5-pb4
  Symlink support for 'dim {diff,ldiff,wdiff}'.
  Work in progress - Do not use this version!
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] dim-0.5.5-pb2

2009-11-26 Thread Philippe Bergheaud
dim-0.5.5-pb2
  Symlink support limited to dim {add,del,diff}.
  Index update is the only supported feature.
  Work in progress - Do not use this version!
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] dim-0.5.5-pb1

2009-11-24 Thread Philippe Bergheaud
dim-0.5.5-pb1
  Fixed a typo in 'dim export' for protocol rsync.
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] dim-0.5.4-mv11-pb1

2009-11-16 Thread Philippe Bergheaud
dim-0.5.4-mv11-pb1
  Experimental rewrite of 'dim export' for protocols file and rsync.
  Optimized 'dim get' and 'dim put' for degenerate library file:.dimlib.
  Note: this is unstable and untested code.
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] Re: dim-0.5.2-mv14

2009-03-04 Thread Philippe Bergheaud
Hi Marc,

'dim get' downloads a corrupted empty file named 'dim-0.4.5-mv4--0.4.' 
Could you check the archive directory on server www.oligem.com, and remove 
the empty file if necessary ?

Thank you,

Philippe
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] dim-0.5.2-mv14-pb2

2009-03-04 Thread Philippe Bergheaud
dim-0.5.2-mv14-pb2
  Renamed getnewvers() family of functions into getnewversion().
  Fixed a bug in getnewversion(), which did not branch off a foreign 
branch.
  Fixed lget(), which now returns false when the attr file is empty.
  Fixed a bug in file_getnewversion(), where argument #2 of
  getneversion() was the checksum, instead of the ancestor version.
  Fixed noclobber pattern to suppress the error message:
  s:'echo file 2/dev/null':'(echo file) 2/dev/null':
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] dim-0.5.2-mv13-pb1

2009-03-02 Thread Philippe Bergheaud
dim-0.5.2-mv13-pb1
  Fixed a bug in 'dim add', which could operate on $HOME rather than $PWD.
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] Re: dim-0.5.2-mv13-pb2

2009-03-02 Thread Philippe Bergheaud
dim-0.5.2-mv13-pb2
  Fixed a bug in update_sum(), which returned 1 instead of 0
  after an empty incremental scan.
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] dim-0.5.2-mv13-pb3

2009-03-02 Thread Philippe Bergheaud
dim-0.5.2-mv13-pb3
  Forced Http_proto=0 (Http_proto=1 breaks 'dim get' and 'dim put').
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] dim-0.5.2-mv13-pb4

2009-03-02 Thread Philippe Bergheaud
dim-0.5.2-mv13-pb4
  Created command 'dim unclone', which operates on current clone.
  'dim mkjob file:' creates a job which is its own file: library.
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] dim-0.5.2-mv13-pb5

2009-03-02 Thread Philippe Bergheaud
dim-0.5.2-mv13-pb5
  Fixed parseopt for ksh88 (at least on AIX).
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] dim-0.5.2-mv6-pb7

2009-02-28 Thread Philippe Bergheaud
dim-0.5.2-mv6-pb7
  Fixed a bug in ldel(), broken since dim-0.5.2-mv6-pb4.
  'dim unexport' refuses to unexport version 0.
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] dim-0.5.2-mv6-pb1

2009-02-24 Thread Philippe Bergheaud
dim-0.5.2-mv6-pb1
  s/chanc/reclone/
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] Re: dim-0.5.2-mv3-pb9

2009-02-23 Thread Philippe Bergheaud
I forgot to say that 'dim clone V1' now always calls 'dim add .'  The 
previous behaviour was too dangerous: 'dim copy' without 'dim add' could 
remove existing files in the clone without warning.

Philippe
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] dim-0.5.2-mv3-pb7

2009-02-17 Thread Philippe Bergheaud
dim-0.5.2-mv3-pb7
  Fixed 'dim import -n' (and oversimplifying it).
  Always 'cd /' before attempting to remove a directory.
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] dim-0.5.2-mv3-pb4

2009-02-16 Thread Philippe Bergheaud
dim-0.5.2-mv3-pb4
  Fixed a typo in getiv (s/gawk/awk/).
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] dim-0.5.2-mv3-pb1

2009-02-15 Thread Philippe Bergheaud
dim-0.5.2-mv3-pb1
  Fixed 'dim get -a', which did not work without item.
  Suppressed argument Dir of 'dim mount' and 'dim mkclone'.
  Hardened mount: mounted sub-directories are detected.
  Hardened getiv: . .. and / are forbidden before :.
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] dim-0.5.2-mv3-pb3

2009-02-15 Thread Philippe Bergheaud
dim-0.5.2-mv3-pb3
  Suppressed argument Dir of 'dim remount'.
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] Re: dim-0.5.2 has 36 ancestors

2009-02-12 Thread Philippe Bergheaud
'dim get' returns the following error message:

get archive/dim/dim-0.5.2.tar.gz (45373 bytes)
dim error: wrong size of dim-0.5.2.tar.gz: 45448

Philippe

dim-ow...@ml.free.fr wrote on 02/12/2009 16:18:58:

 I fixed and updated the archive of dim-0.5.2. Please reset your jobs 
 pointing on http://www.oligem.com/dim/wdim.php.
 
 A fix of dim tool will follow.
 
 Thanks,
 
 Marc
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] Re: dim-0.5.2 has 36 ancestors

2009-02-12 Thread Philippe Bergheaud
I have done that, I still get the same error.

dim-ow...@ml.free.fr wrote on 02/12/2009 16:59:00:

 You have to remove the previous archive first, then get again:
 
 $ rm $(dim job)/.dimlib/archive/dim/dim-0.5.2.tar.gz
 $ dim get
 
 Marc
 
 Philippe Bergheaud wrote:
  'dim get' returns the following error message:
  
  get archive/dim/dim-0.5.2.tar.gz (45373 bytes)
  dim error: wrong size of dim-0.5.2.tar.gz: 45448
  
  Philippe
  
  dim-ow...@ml.free.fr wrote on 02/12/2009 16:18:58:
  
  I fixed and updated the archive of dim-0.5.2. Please reset your jobs 
  pointing on http://www.oligem.com/dim/wdim.php.
 
  A fix of dim tool will follow.
 
  Thanks,
 
  Marc
  --
  Archive: http://www.mail-archive.com/dim@ml.free.fr/
  To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe
 
 --
 Archive: http://www.mail-archive.com/dim@ml.free.fr/
 To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] Re: dim-0.5.2 has 36 ancestors

2009-02-12 Thread Philippe Bergheaud
Did not work at the office, working fine at home (!?)

Philippe

dim-ow...@ml.free.fr wrote on 02/12/2009 17:08:25:

 I can not reproduce your error. Works ok here.
 
 Marc
 
 Philippe Bergheaud wrote:
  I have done that, I still get the same error.
  
  dim-ow...@ml.free.fr wrote on 02/12/2009 16:59:00:
  
  You have to remove the previous archive first, then get again:
 
  $ rm $(dim job)/.dimlib/archive/dim/dim-0.5.2.tar.gz
  $ dim get
 
  Marc
 
  Philippe Bergheaud wrote:
  'dim get' returns the following error message:
 
  get archive/dim/dim-0.5.2.tar.gz (45373 bytes)
  dim error: wrong size of dim-0.5.2.tar.gz: 45448
 
  Philippe
 
  dim-ow...@ml.free.fr wrote on 02/12/2009 16:18:58:
 
  I fixed and updated the archive of dim-0.5.2. Please reset your 
jobs 
  pointing on http://www.oligem.com/dim/wdim.php.
 
  A fix of dim tool will follow.
 
  Thanks,
 
  Marc
  --
  Archive: http://www.mail-archive.com/dim@ml.free.fr/
  To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe
  --
  Archive: http://www.mail-archive.com/dim@ml.free.fr/
  To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe
  --
  Archive: http://www.mail-archive.com/dim@ml.free.fr/
  To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe
 
 --
 Archive: http://www.mail-archive.com/dim@ml.free.fr/
 To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] dim-0.5.2 is not imported

2009-02-11 Thread Philippe Bergheaud
$ dim get dim
get archive/dim/dim-0.5.2.tar.gz (45448 bytes)
$ dim import dim# does not import dim-0.5.2.
$ dim import dim-0.5.2
dim-0.5.2
--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] Re: dim-0.5.1-mv13-pb1

2009-02-08 Thread Philippe Bergheaud
Right, the problem has nothing to do with the clone mount directory.
Here is the script illustrating the problem:

$ dim -V
dim-0.5.1-mv13
$ cd job# this is a job
$ dim mkclone dim-0.5.1-mv13 dim
cd dim
$ dim save -n
dim-0   # should be dim-0.5.1-mv13
$ dim export -n
dim-0   # should be dim-0.5.1-mv13

Philippe


dim-ow...@ml.free.fr wrote on 02/08/2009 11:24:03:

 Philippe Bergheaud wrote:
 
Note that R3 is broken: do not try to save your work
from any other directory than the clone mount directory.
Note also that this version has not been extensively tested.
 
 What is the exact problem? Is it in your version only? I tried to save 
 i.e. from dim/contrib (changed file was ../dim), and it worked normally 
 with dim-0.5.1-mv13.
 
 Marc

--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:dim-requ...@ml.free.fr?subject=unsubscribe


[dim] Version specification (again)

2008-05-13 Thread Philippe Bergheaud
Inside a dim library namespace, an item version is
Item:Version
Item is
[A-Za-z0-9_][A-Za_z0-9_.]*
Version is one of
[A-Fa-f0-9]{40} # sha1 checksum
+[1-9][0-9]*# clone number
Name[(-Name)+[(--Name)+]]
Name is
[A-Za-z0-9_][A-Za_z0-9_.]*
The syntax Item:Version can be relaxed into one of
Item-Version# used for tarballs
Item
Version

A file or directory Pathname is one of
\.[^\n]*# starts with .
[^.\n]*[^-+A-Za-z0-9_.\n][^\n]*
Pathname syntax can be relaxed into whatever
[\n]+

Ambiguity will be lifted by a heuristic not yet documented.

Philippe

[dim] dvs2dim

2008-04-23 Thread Philippe Bergheaud

dim-0.4.8-pb2
   Added contrib/dvs2dim.  This program creates a dim replica of a dvs 
item.

--
Archive: http://www.mail-archive.com/dim@ml.free.fr/
To unsubscribe: mailto:[EMAIL PROTECTED]


[dim] dim-0.4.7-mv4 export bug

2008-04-17 Thread Philippe Bergheaud
$ dim mklib file:/home/felix/selflib /home/felix/selflib
$ export DIMLIB=/home/felix/selflib
$ dim mkuser
$ dim mkitem rr
$ dim mount rr .
$ dim export -n
rr-0-pb1# good
$ dim export -n -M
rr-1# good
$ dim export -n -M -B 37
rr-37   # good
$ dim export -n -B 37
rr-0--37# bad

[dim] Re: New spec proposal for mount index update

2008-04-16 Thread Philippe Bergheaud
Attempt #2, for 'dim mount' only.

dim mount item|version dir
Link all files from the mount point to the clone index.
Options persist until 'dim umount'.
Options can be changed with 'dim remount'.
OPTIONS
-a | -o auto
Automatically update the index to reflect the mount point 
contents.
-o noauto
Do not automatically update the index to reflect the mount 
point contents (default).
-o cvsignore
Honour .cvsignore files when automatically updating the 
index.
-o nocvsignore
Do not honour .cvsignore files (default).
-o gitignore
Honour .gitignore files when automatically updating the 
index.
-o nogitignore
Do not honour .gitignore files (default).

[dim] dim-0.3 messages

2008-03-11 Thread Philippe Bergheaud
'dim-0.3 import dim' prints several messages like:

cp: `~felix/dimlib/item/dim/.dim/0.2.6/index' and `cat/meta/index' are the 
same file

[dim] Re: dim-0-mv54

2008-02-27 Thread Philippe Bergheaud
'dim log -a' does not work.
'dim version -a' does not list versions in anc - desc order.