Benjamin Pierce | 4 Nov 15:26 2008

Re: merging issues (and suggestions for improvements)

> - sdiff (a tool I usually use) returns exit status 0 if inputs are the
> same, 1 if different, 2 if trouble.  This puzzled me for a while  
> until I
> realized.  The only solution I came to was to use this:
> sdiff -s -o NEW CURRENT1 CURRENT2 || [ $? -eq 1 ]

I've had similar issues.  I think in retrospect the decision to use  
the exit status of the merge tool to decide what to do with the  
results was wrong -- there are too many tools that return nonzero  
status even though the merge went just fine.

> - sdiff mentioned is an interactive tool and there's an issue with
> Unison not letting sdiff to open standard input (for user prompt).  No
> better solution occurred to me than launching sdiff via xterm which
> obviously doesn't work in console and even in X11 is problematic under
> different user/credentials:
> xterm -e sdiff -s -o NEW CURRENT1 CURRENT2

Good point.  The function that runs the external program should not  
grab stdin / stdout / stderr if Unison is running with the text UI.

> - After merging Unison can ask for confirmation but there's no  
> option to
> review the result of merge (that is file NEW).  This doesn't help.

Yes.

I've added these points to the TODO list.  (This is no guarantee  
they'll get done in any finite amount of time, unfortunately, unless  
you or someone else wants to take them on -- in which case I'd be glad  
(Continue reading)

Seb | 5 Nov 16:04 2008
Picon

fingerprint mismatch

Hi,

Since the last couple of days, I'm getting failures on files that I
haven't touched in a very long time and were transferring fine in the
past.  Both replicas are on my local machine.  The log shows lines like
this for each file that fails:

Failed: The file .unison.ag_mk5g_108_objs.Rdata.ad379cffbb5bad7bc86b0afcfa0f2857.unison.tmp
was incorrectly transferred (fingerprint mismatch)

Is there some way to fix this?

Cheers,

--

-- 
Seb

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)
(Continue reading)

Joseph J Alotta | 6 Nov 19:57 2008
Picon

can't find directory

Greetings,

I keep getting these messages about not finding the directory, but  
then I can
cd to it.  Does anyone have ideas?

Joe.

/Users/jja/backups/unison: No such file or directory)
or to its parent /Users/jja/backups
(/Users/jja/backups: No such file or directory)
[END] Copying Documents/QuickBooks/.jja quickbooks 2007.lock
Failed: Server: Cannot find canonical name of /Users/jja/backups/ 
unison: unable to cd either to it

(/Users/jja/backups/unison: No such file or directory)
or to its parent /Users/jja/backups
(/Users/jja/backups: No such file or directory)
Failed: Server: Cannot find canonical name of /Users/jja/backups/ 
unison: unable to cd either to it

(/Users/jja/backups/unison: No such file or directory)
or to its parent /Users/jja/backups
(/Users/jja/backups: No such file or directory)
Fatal error: Server: Cannot find canonical name of /Users/jja/backups/ 
unison: unable to cd either to it

(/Users/jja/backups/unison: No such file or directory)
or to its parent /Users/jja/backups
(/Users/jja/backups: No such file or directory)
(Continue reading)

Wm... | 6 Nov 22:32 2008
Picon
Picon

Re: can't find directory

Thu, 6 Nov 2008 12:57:47 
<64499840-A4DC-4D11-A050-140CD4275339 <at> gmail.com>  Joseph J Alotta 
<joseph.alotta <at> gmail.com>

>Greetings,
>
>I keep getting these messages about not finding the directory, but
>then I can
>cd to it.  Does anyone have ideas?

standard answers are:

there is a missing directory level
unison doesn't deal well with a new
a/b/c
when
a/b
doesn't already exist.

your path statement isn't what it should be; these can be puzzling, tell 
us yours and we'll help.

--

-- 
Wm...  Please reply to the list; e-mail replies will be replied to
in the list unless marked as private.  I write in plain text, I
suggest you read what I write that way.  Any rubbish below this is
from Yahoo not me.

------------------------------------

(Continue reading)

Urbaniak, Sebastian | 8 Nov 23:09 2008

File size display (with Decimal Separator)

Is there any way   the byte FileSize whenever shown in the GUI

<image>

Gets a Decimal Separator added.      http://en.wikipedia.org/wiki/Decimal_separator

So in the above example:

21866256

Would show as:

21,866,256

(ideally using the local-culture delimiter)

 

I am sure I am not the only one that has trouble reading these quickly.

Please let me know.

 

S

__._,_.___
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
martinko | 9 Nov 20:02 2008
Picon

Re: merging issues (and suggestions for improvements)

Benjamin Pierce wrote:
>> - sdiff (a tool I usually use) returns exit status 0 if inputs are the
>> same, 1 if different, 2 if trouble.  This puzzled me for a while  
>> until I
>> realized.  The only solution I came to was to use this:
>> sdiff -s -o NEW CURRENT1 CURRENT2 || [ $? -eq 1 ]
> 
> I've had similar issues.  I think in retrospect the decision to use  
> the exit status of the merge tool to decide what to do with the  
> results was wrong -- there are too many tools that return nonzero  
> status even though the merge went just fine.
> 
>> - sdiff mentioned is an interactive tool and there's an issue with
>> Unison not letting sdiff to open standard input (for user prompt).  No
>> better solution occurred to me than launching sdiff via xterm which
>> obviously doesn't work in console and even in X11 is problematic under
>> different user/credentials:
>> xterm -e sdiff -s -o NEW CURRENT1 CURRENT2
> 
> Good point.  The function that runs the external program should not  
> grab stdin / stdout / stderr if Unison is running with the text UI.
> 
>> - After merging Unison can ask for confirmation but there's no  
>> option to
>> review the result of merge (that is file NEW).  This doesn't help.
> 
> Yes.
> 
> I've added these points to the TODO list.  (This is no guarantee  
> they'll get done in any finite amount of time, unfortunately, unless  
> you or someone else wants to take them on -- in which case I'd be glad  
> to offer advice and moral support...)
> 
>       - Benjamin
> 

Unfortunately, I have no experience with OCaml whatsoever and I have no 
idea where in sources to start digging.
 From those 3 points I mentioned, number one (exit status) is the least 
important as it can be worked around but the other two are quite 
important.  I cannot believe that no one else has been bitten by them. 
On the other hand they seem to me not that difficult to implement so I 
believe someone will do it before I would have to invest significant 
amount of time to learn all the new stuff (the language and the 
application).  We'll see.. :-)

With regards,

Martin

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:unison-users-digest <at> yahoogroups.com 
    mailto:unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Misha Aizatulin | 10 Nov 07:25 2008
Picon

Re: merging issues (and suggestions for improvements)


> I cannot believe that no one else has been bitten by them.

  I have, there has been a talk about this issue previously:
http://tech.groups.yahoo.com/group/unison-users/message/6879

Cheers,
  Misha

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:unison-users-digest <at> yahoogroups.com 
    mailto:unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Mike Diehl | 12 Nov 09:01 2008

Re: How many files?

On Friday 17 October 2008 12:58:13 pm Alan Schmitt wrote:
> On 17 oct. 08, at 20:38, Matt Zagrabelny wrote:
> > On Fri, 2008-10-17 at 11:27 -0600, Mike Diehl wrote:
> >> Hi all,
> >>
> >> The only problem I've ever had with Unison is having run out of
> >> memory
> >> while
> >> syncing a large filestructure.
> >>
> >> So my question is, how many files should I be able to sync? Any
> >> guidelines?
> >
> > Not a guideline, but my largest profile has:
> >
> > 3533 directories, 35739 files
>
> I think the relevant metrics may be the number of changed files. I
> have profiles where there are more than 100 000 files synchronized
> (maildir storage of mail ...)
>
> When I run into this problem, what I usually do is synchronize subsets
> of the replicas (using the same archive, i.e. the same roots, only
> changing which paths are synchronized), adding more until I get
> everything synchronized.
>
> Hope this helps,
>
> Alan

Yes, it did help.

However, I'm trying to restrict my archive to a smaller subset, as suggested, and I'm having problems.

Here is what I'm trying to do:

unison /home/ ssh://example.com///home/ -owner -group -batch -terse  -prefer /home/ -ignore Path mdiehl

I'm hoping to sync all of /home except my home directory since it's the largest.  When
I run this command, I get an error message:

Error: Filename '/home/' contains a '/'

What is the proper syntax, then?

Thank you again,

-- 
Mike Diehl

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:unison-users-digest <at> yahoogroups.com 
    mailto:unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Alan Schmitt | 12 Nov 10:18 2008

Re: How many files?

On 12 nov. 08, at 9:01, Mike Diehl wrote:

> Here is what I'm trying to do:
>
> unison /home/ ssh://example.com///home/ -owner -group -batch -terse   
> -prefer /home/ -ignore Path mdiehl
>
> I'm hoping to sync all of /home except my home directory since it's  
> the largest.  When
> I run this command, I get an error message:
>
> Error: Filename '/home/' contains a '/'
>
> What is the proper syntax, then?

Did you try removing the trailing '/' (after both roots)?

Alan
Benjamin Pierce | 12 Nov 14:17 2008

Re: How many files?

I think you need some extra quotes around "Path mdiehl" so that the  
shell passes it to Unison as a single argument.

     - B

On Nov 12, 2008, at 3:01 AM, Mike Diehl wrote:

> On Friday 17 October 2008 12:58:13 pm Alan Schmitt wrote:
>> On 17 oct. 08, at 20:38, Matt Zagrabelny wrote:
>>> On Fri, 2008-10-17 at 11:27 -0600, Mike Diehl wrote:
>>>> Hi all,
>>>>
>>>> The only problem I've ever had with Unison is having run out of
>>>> memory
>>>> while
>>>> syncing a large filestructure.
>>>>
>>>> So my question is, how many files should I be able to sync? Any
>>>> guidelines?
>>>
>>> Not a guideline, but my largest profile has:
>>>
>>> 3533 directories, 35739 files
>>
>> I think the relevant metrics may be the number of changed files. I
>> have profiles where there are more than 100 000 files synchronized
>> (maildir storage of mail ...)
>>
>> When I run into this problem, what I usually do is synchronize  
>> subsets
>> of the replicas (using the same archive, i.e. the same roots, only
>> changing which paths are synchronized), adding more until I get
>> everything synchronized.
>>
>> Hope this helps,
>>
>> Alan
>
> Yes, it did help.
>
> However, I'm trying to restrict my archive to a smaller subset, as  
> suggested, and I'm having problems.
>
> Here is what I'm trying to do:
>
> unison /home/ ssh://example.com///home/ -owner -group -batch -terse   
> -prefer /home/ -ignore Path mdiehl
>
> I'm hoping to sync all of /home except my home directory since it's  
> the largest.  When
> I run this command, I get an error message:
>
> Error: Filename '/home/' contains a '/'
>
> What is the proper syntax, then?
>
> Thank you again,
>
> -- 
> Mike Diehl
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:unison-users-digest <at> yahoogroups.com 
    mailto:unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Gmane