<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>3772</bug_id>
          
          <creation_ts>2004-03-02 13:31:27 +0300</creation_ts>
          <short_desc>--compare-dest не работает в некоторых случаях</short_desc>
          <delta_ts>2006-06-30 20:30:44 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>rsync</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey V Kovalyov">sergey.kovalyov</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12082</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey V Kovalyov">sergey.kovalyov</who>
    <bug_when>2004-03-02 13:31:27 +0300</bug_when>
    <thetext>При DEST -- локальная машина, не работает ключ --compare-dest (и, подозреваю, 
что и --link-dest). Эффект повторяется при SRC в любом виде (SRC, [USER@]
HOST::SRC и rsync://[USER@]HOST[:PORT]/SRC )

Steps to Reproduce:
[wise@ipsec ~/tmp/test/1first]$ rsync -a --stats rsync://localhost/backup .

Number of files: 2
Number of files transferred: 1
Total file size: 31 bytes
Total transferred file size: 31 bytes
Literal data: 31 bytes
Matched data: 0 bytes
File list size: 56
Total bytes written: 88
Total bytes read: 167

wrote 88 bytes  read 167 bytes  510.00 bytes/sec
total size is 31  speedup is 0.12
[wise@ipsec ~/tmp/test/1first]$ cd ../2second/
[wise@ipsec ~/tmp/test/2second]$ rsync -a --stats rsync://localhost/backup . --
compare-dest=~/tmp/test/1first/

Number of files: 2
Number of files transferred: 1
Total file size: 31 bytes
Total transferred file size: 31 bytes
Literal data: 31 bytes
Matched data: 0 bytes
File list size: 56
Total bytes written: 88
Total bytes read: 167

wrote 88 bytes  read 167 bytes  510.00 bytes/sec
total size is 31  speedup is 0.12
[wise@ipsec ~/tmp/test/2second]$ rsync -a --stats rsync://localhost/backup . --
compare-dest=~/tmp/test/1first/

Number of files: 2
Number of files transferred: 0
Total file size: 31 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 56
Total bytes written: 68
Total bytes read: 92

wrote 68 bytes  read 92 bytes  320.00 bytes/sec
total size is 31  speedup is 0.19
[wise@ipsec ~/tmp/test/2second]$ rpm -q rsync
rsync-2.6.0-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12784</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey V Kovalyov">sergey.kovalyov</who>
    <bug_when>2004-04-13 19:11:36 +0400</bug_when>
    <thetext>Забыли про мой баг? Или более подробно написать надо?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13235</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-05-03 01:42:38 +0400</bug_when>
    <thetext>Hint:
$ echo --compare-dest=~/tmp/test/1first/
--compare-dest=~/tmp/test/1first/

А --compare-dest работает у меня каждый день.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>