lawa | 5 Dec 2006 23:09
Picon
Picon

ignore patterns

Hi!

I am using subversion for part of my data and unison for the
rest. I
want to stop unison from touching the directories that are under
svn
control but so far didn't succeed. I only can put them one after
the
other into the prf file. To avoid this. I tried

Ignore Path */.svn

as a the dir .svn is in every svn controlled dir. But no success
so far.

Any ideas how I could achieve this

Gregor

--
!!I am trying to shift my personal mail to this address!!
plz update your addressbook

Dipl.-Ing. Gregor Hlawacek -- http://www.unileoben.ac.at/~hlawacek
Proleber Straße 60/7 -- +43 650 3592145
8700 Leoben, Austria
(o_ (o_ (o<)< (o< -!
//\ //\ //\ //\
V_/_ [ ]/_ V_/_ V_/_
penguin eating fish
travelling being noisy
GPG ID: FBCDF36E
GPG Finger Print: 1AA0 DC5C 186F 6144 01F0 8FB2 7ABD D7FB FBCD F36E

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Y! Messenger

Quick file sharing

Send up to 1GB of

files in an IM.

Ads on Yahoo!

Learn more now.

Reach customers

searching for you.

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___
Kevin Ballard | 6 Dec 2006 00:09
Gravatar

Re: ignore patterns

On Dec 5, 2006, at 5:09 PM, lawa wrote:

I am using subversion for part of my data and unison for the
rest. I
want to stop unison from touching the directories that are under
svn
control but so far didn't succeed. I only can put them one after
the
other into the prf file. To avoid this. I tried

Ignore Path */.svn

as a the dir .svn is in every svn controlled dir. But no success
so far.

Any ideas how I could achieve this

Ignore Name .svn


__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
New web site?

Drive traffic now.

Get your business

on Yahoo! search.

Y! Messenger

Talk it up - free!

Call your friends

worldwide - free!

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___
Par Leijonhufvud | 6 Dec 2006 10:36

ignore patterns: links?

Is there any way to make unison ignore all links? I'm creating a large
number of beamer presentations, and then I prefer to have a link from
the actual image files to the directory where the presentation is
created. This is no problem with UNIX - UNIX syncs, but when the FAT16
formatted USB stick get's involved I get to either create a specific
ignore rule for each link or have it ask about them each time (and then
fail).

I could ignore all .png files in the directories where presentations
live, but I'd rather just stop links from even being tried when syncing
to the USB stick.

/Par

--
Par Leijonhufvud par <at> hunter-gatherer.org
> Is Jackson really Sauron in disguise?
Well, we know that after the wreck of Numenor, Sauron lost the power to take
on a pleasing shape. Unfortunately, that's inconclusive.
-- John VanSickle & Mike Schilling

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
New business?

Get new customers.

List your web site

in Yahoo! Search.

Y! Messenger

Group get-together

Host a free online

conference on IM.

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___
lawa | 6 Dec 2006 08:48
Picon
Picon

Re: ignore patterns

On Tue, 2006-12-05 at 18:09 -0500, Kevin Ballard wrote:
> On Dec 5, 2006, at 5:09 PM, lawa wrote:
>
> > I am using subversion for part of my data and unison for the
> > rest. I
> > want to stop unison from touching the directories that are under
> > svn
> > control but so far didn't succeed. I only can put them one after
> > the
> > other into the prf file. To avoid this. I tried
> >
> > Ignore Path */.svn
> >
> > as a the dir .svn is in every svn controlled dir. But no success
> > so far.
> >
> > Any ideas how I could achieve this
>
>
> Ignore Name .svn

This is ignoring only the svn dir itself and not the directory .svn is
sitting in.
The structure is as follows:
somedir/
someotherdir/
dirtoignore/
.svn/
dirindirtoignore
fileindirtoignore

How can I get rid of dirtoignore/ ? I have a number of these and they
can in principle pop up all over the filesystem where ever I decide to
checkout my subversion projects, so I don't want to include them by
their absolut path because after I while I will end up with a great
number of them and partly they maybe not existing anymore.

> --
> Kevin Ballard
> http://kevin.sb.org
> kevin <at> sb.org
> http://www.tildesoft.com
>
>
>
>
>

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
New web site?

Drive traffic now.

Get your business

on Yahoo! search.

Y! Messenger

Group get-together

Host a free online

conference on IM.

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___
Erik Spears | 6 Dec 2006 18:24

Unison consuming most/all available memory

Hi folks,

We are running Unison v. 2.13.16 and synching between 2 Red Hat Linux
boxes. Unison seems to consume and then not release a good chunk of
memory when it runs for the first time on a new root. Is the fact that
Unison is not releasing the memory happening by design, or is this a
potential issue that we are seeing?

We have also seen Unison crash due to a lack of available memory when
doing its initial analysis of new roots that are very large. It then
also seems to keep the memory in its grasp, which is problematic since
that means it's taking most/all of the available memory on the machine.

Has anyone else seen similar behaviour? Are there known workarounds, or
does this sound like all is well? Etc.

Many thanks,
--Erik Spears

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Search Ads

Get new customers.

List your web site

in Yahoo! Search.

Y! Messenger

Send pics quick

Share photos while

you IM friends.

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___
lawa | 6 Dec 2006 19:09
Picon
Picon

Re: ignore patterns

On Wed, 2006-12-06 at 18:41 +0100, Ralph Lehmann wrote:
> lawa schrieb:
> > On Tue, 2006-12-05 at 18:09 -0500, Kevin Ballard wrote:
> >> On Dec 5, 2006, at 5:09 PM, lawa wrote:
> >>
> >> > I am using subversion for part of my data and unison for the
> >> > rest. I
> >> > want to stop unison from touching the directories that are under
> >> > svn
> >> > control but so far didn't succeed. I only can put them one after
> >> > the
> >> > other into the prf file. To avoid this. I tried
> >> >
> >> > Ignore Path */.svn
> >> >
> >> > as a the dir .svn is in every svn controlled dir. But no success
> >> > so far.
> >> >
> >> > Any ideas how I could achieve this
> >>
> >>
> >> Ignore Name .svn
> >
> > This is ignoring only the svn dir itself and not the directory .svn is
> > sitting in.
> > The structure is as follows:
> > somedir/
> > someotherdir/
> > dirtoignore/
> > .svn/
> > dirindirtoignore
> > fileindirtoignore
> >
> > How can I get rid of dirtoignore/ ? I have a number of these and they
> > can in principle pop up all over the filesystem where ever I decide to
> > checkout my subversion projects, so I don't want to include them by
> > their absolut path because after I while I will end up with a great
> > number of them and partly they maybe not existing anymore.
>
> Try Regex.

I tried but maybe due to my limited capability to understand Regex I
didn't have success. Any suggestions?

Gregor

> ciao Ralph

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Y! Messenger

Group get-together

Host a free online

conference on IM.

New business?

Get new customers.

List your web site

in Yahoo! Search.

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___
Ralph Lehmann | 6 Dec 2006 18:41
Picon

Re: ignore patterns

lawa schrieb:
> On Tue, 2006-12-05 at 18:09 -0500, Kevin Ballard wrote:
>> On Dec 5, 2006, at 5:09 PM, lawa wrote:
>>
>> > I am using subversion for part of my data and unison for the
>> > rest. I
>> > want to stop unison from touching the directories that are under
>> > svn
>> > control but so far didn't succeed. I only can put them one after
>> > the
>> > other into the prf file. To avoid this. I tried
>> >
>> > Ignore Path */.svn
>> >
>> > as a the dir .svn is in every svn controlled dir. But no success
>> > so far.
>> >
>> > Any ideas how I could achieve this
>>
>>
>> Ignore Name .svn
>
> This is ignoring only the svn dir itself and not the directory .svn is
> sitting in.
> The structure is as follows:
> somedir/
> someotherdir/
> dirtoignore/
> .svn/
> dirindirtoignore
> fileindirtoignore
>
> How can I get rid of dirtoignore/ ? I have a number of these and they
> can in principle pop up all over the filesystem where ever I decide to
> checkout my subversion projects, so I don't want to include them by
> their absolut path because after I while I will end up with a great
> number of them and partly they maybe not existing anymore.

Try Regex.

ciao Ralph

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Ads on Yahoo!

Learn more now.

Reach customers

searching for you.

Y! Messenger

Instant hello

Chat over IM with

group members.

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___
Benjamin Pierce | 6 Dec 2006 21:43
Favicon

Re: ignore patterns

What you want can't be done with Unison's ignore mechanism.

Regards,

- Benjamin

On Dec 6, 2006, at 12:41 PM, Ralph Lehmann wrote:

> lawa schrieb:
>> On Tue, 2006-12-05 at 18:09 -0500, Kevin Ballard wrote:
>>> On Dec 5, 2006, at 5:09 PM, lawa wrote:
>>>
>>>> I am using subversion for part of my data and unison for the
>>>> rest. I
>>>> want to stop unison from touching the directories that are under
>>>> svn
>>>> control but so far didn't succeed. I only can put them one after
>>>> the
>>>> other into the prf file. To avoid this. I tried
>>>>
>>>> Ignore Path */.svn
>>>>
>>>> as a the dir .svn is in every svn controlled dir. But no success
>>>> so far.
>>>>
>>>> Any ideas how I could achieve this
>>>
>>>
>>> Ignore Name .svn
>>
>> This is ignoring only the svn dir itself and not the
>> directory .svn is
>> sitting in.
>> The structure is as follows:
>> somedir/
>> someotherdir/
>> dirtoignore/
>> .svn/
>> dirindirtoignore
>> fileindirtoignore
>>
>> How can I get rid of dirtoignore/ ? I have a number of these and they
>> can in principle pop up all over the filesystem where ever I
>> decide to
>> checkout my subversion projects, so I don't want to include them by
>> their absolut path because after I while I will end up with a great
>> number of them and partly they maybe not existing anymore.
>
> Try Regex.
>
> ciao Ralph
>
>
>
> Yahoo! Groups Links
>
>
>

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Y! Messenger

Files to share?

Send up to 1GB of

files in an IM.

Ads on Yahoo!

Learn more now.

Reach customers

searching for you.

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___
Kevin Ballard | 6 Dec 2006 21:45
Gravatar

Re: Unison consuming most/all available memory

I'm speaking from a very limited perspective here, as I haven't read the source yet, but...

OCaml (what unison is written in) uses a garbage collector, so not releasing memory would imply that whatever's taking up the memory is still being referenced somewhere. I don't know if it's a bug that it's still holding onto a reference to this memory somewhere, but it isn't a leak per se.

On Dec 6, 2006, at 12:24 PM, Erik Spears wrote:

We are running Unison v. 2.13.16 and synching between 2 Red Hat Linux

boxes.  Unison seems to consume and then not release a good chunk of

memory when it runs for the first time on a new root.  Is the fact that

Unison is not releasing the memory happening by design, or is this a

potential issue that we are seeing?



Attachment (smime.p7s): application/pkcs7-signature, 2432 bytes
Benjamin Pierce | 6 Dec 2006 22:08
Favicon

Re: Unison consuming most/all available memory

> We are running Unison v. 2.13.16 and synching between 2 Red Hat Linux
> boxes. Unison seems to consume and then not release a good chunk of
> memory when it runs for the first time on a new root. Is the fact
> that
> Unison is not releasing the memory happening by design, or is this a
> potential issue that we are seeing?
>
> We have also seen Unison crash due to a lack of available memory when
> doing its initial analysis of new roots that are very large. It then
> also seems to keep the memory in its grasp, which is problematic since
> that means it's taking most/all of the available memory on the
> machine.
>
> Has anyone else seen similar behaviour? Are there known
> workarounds, or
> does this sound like all is well? Etc.

This sounds like normal behavior (depending what you mean by "a good
chunk" :-). Unison builds a data structure describing all the
updates it sees, which for the first run has to include an entry for
every file in the filesystem. This can get big.

A workaround is to use the -path option to restrict Unison's
attention to just a part of the replica at a time, when first
synchronizing a particular pair of roots.

Regards,

- Benjamin

>
> Many thanks,
> --Erik Spears
>
>
>
> Yahoo! Groups Links
>
>
>

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Y! Messenger

Files to share?

Send up to 1GB of

files in an IM.

New business?

Get new customers.

List your web site

in Yahoo! Search.

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___

Gmane