You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Irfan Sayed <ir...@gmail.com> on 2009/05/18 06:38:03 UTC

subversion disadavantages

Hi All,

I came across two disadvantages of subversion

1: once file added in subversion, can not be deleted form database. yes we
can delete the revesion but if i want to completeltly remove specific file
from database and all the revesions then it can not be possible

2: locking mechnaism is only available on file level and not on dir. level .
if i have thousand files and need lick all the files then i need lock file
one by one??. it's realy painful

we areusing subversion 1.5.4

please suggets

Regards
irf

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2297024

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Error tagging from maven

Posted by Konstantin Kolinko <kn...@gmail.com>.
2009/5/18 Geir Engebakken <ge...@edb.com>:
> A user in my company is getting a strange error running mvn release:prepare.
>
> He gets the following error :
>
> [INFO] Executing: svn --non-interactive copy --file C:\DOCUME~1\et4045\LOCALS~1\Temp\maven-scm-1202692817.commit . http:
> //svn.edb.com/repos/java/customer/scs/ws/context-module/tags/edb-scs-ws-contextModule-1.2
> [INFO] Working directory: c:\edb\workspaces\generaloffice\context-module
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Unable to tag SCM
> Provider message:
> The svn tag command failed.
> Command output:
> svn: Commit failed (details follow):
> svn: File '/repos/java/customer/scs/ws/context-module/tags/edb-scs-ws-contextModule-1.2/src/main/java/com/edb/finance/cu
> stomer/scs/ws/module/contextmodule/handler/AbstractContextModuleHandler.java' already exists
>
>
> I have checked that the folder edb-scs-ws-contextModule-1.2 in tags does not exist, so why is he getting the file exists already error?
>
> Any ideas?
>

http://subversion.tigris.org/issues/show_bug.cgi?id=3119

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2306047

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Error tagging from maven

Posted by Geir Engebakken <ge...@edb.com>.
A user in my company is getting a strange error running mvn release:prepare.

He gets the following error :

[INFO] Executing: svn --non-interactive copy --file C:\DOCUME~1\et4045\LOCALS~1\Temp\maven-scm-1202692817.commit . http:
//svn.edb.com/repos/java/customer/scs/ws/context-module/tags/edb-scs-ws-contextModule-1.2
[INFO] Working directory: c:\edb\workspaces\generaloffice\context-module
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Commit failed (details follow):
svn: File '/repos/java/customer/scs/ws/context-module/tags/edb-scs-ws-contextModule-1.2/src/main/java/com/edb/finance/cu
stomer/scs/ws/module/contextmodule/handler/AbstractContextModuleHandler.java' already exists


I have checked that the folder edb-scs-ws-contextModule-1.2 in tags does not exist, so why is he getting the file exists already error?

Any ideas?

Geir

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2298520

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: subversion disadavantages

Posted by Andy Levy <an...@gmail.com>.
On Mon, May 18, 2009 at 04:57, Irfan Sayed <ir...@gmail.com> wrote:
> here is th example. in Tags folder i am keeping all tghe official release.
> now i dont want any user to modify the contents in the tag folder
>
> i know that i can write the hook which will restrict user from modifying the
> contents. but i was expecting this as a inbuilt feature in subversion to
> lock the folder and files if needed instead of writing the custome trigger

This is not the intended purpose of locks in the first place - so even
if you *could* lock a directory, it'd be the wrong solution to the
"problem" you're attempting to solve. This should be done via SVN's
built-in security mechanisms, restricting write access to your tags
directory to only those users who should be creating tags.

> On Mon, May 18, 2009 at 2:22 PM, Mihamina Rakotomandimby (R12y)
> <mi...@lab.vectoris.fr> wrote:
>>
>> On 05/18/2009 11:41 AM, B. Smith-Mannschott wrote:
>> >> 2: locking mechnaism is only available on file level and not on dir.
>> >> level .
>> >> if i have thousand files and need lick all the files then i need lock
>> >> file
>> >> one by one??. it's realy painful
>> >
>> > True. Though, I'd be *very* interested to know why you feel the need
>> > to lock so many files at once. What is it that you are trying to
>> > achieve?
>>
>> Dont you remember? the backup story :-).
>> Locking out the users during backup, the way it's done with
>> broken-by-design tools.
>>
>> --
>>                              Chef de projet chez Vectoris
>>                                  Phone: +261 33 11 207 36
>> System: xUbuntu 8.10 with almost all from package install
>>    http://www.google.com/search?q=mihamina+rakotomandimby
>>
>> ------------------------------------------------------
>>
>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2297865
>>
>> To unsubscribe from this discussion, e-mail:
>> [users-unsubscribe@subversion.tigris.org].
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2298348

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: subversion disadavantages

Posted by Irfan Sayed <ir...@gmail.com>.
here is th example. in Tags folder i am keeping all tghe official release.
now i dont want any user to modify the contents in the tag folder

i know that i can write the hook which will restrict user from modifying the
contents. but i was expecting this as a inbuilt feature in subversion to
lock the folder and files if needed instead of writing the custome trigger

Regads
Irf

On Mon, May 18, 2009 at 2:22 PM, Mihamina Rakotomandimby (R12y) <
mihamina@lab.vectoris.fr> wrote:

> On 05/18/2009 11:41 AM, B. Smith-Mannschott wrote:
> >> 2: locking mechnaism is only available on file level and not on dir.
> level .
> >> if i have thousand files and need lick all the files then i need lock
> file
> >> one by one??. it's realy painful
> >
> > True. Though, I'd be *very* interested to know why you feel the need
> > to lock so many files at once. What is it that you are trying to
> > achieve?
>
> Dont you remember? the backup story :-).
> Locking out the users during backup, the way it's done with
> broken-by-design tools.
>
> --
>                              Chef de projet chez Vectoris
>                                  Phone: +261 33 11 207 36
> System: xUbuntu 8.10 with almost all from package install
>    http://www.google.com/search?q=mihamina+rakotomandimby
>
> ------------------------------------------------------
>
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2297865
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe@subversion.tigris.org].
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2297904

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: subversion disadavantages

Posted by Nico Kadel-Garcia <nk...@gmail.com>.
Mihamina Rakotomandimby (R12y) wrote:
> On 05/18/2009 11:41 AM, B. Smith-Mannschott wrote:
>   
>>> 2: locking mechnaism is only available on file level and not on dir. level .
>>> if i have thousand files and need lick all the files then i need lock file
>>> one by one??. it's realy painful
>>>       
>> True. Though, I'd be *very* interested to know why you feel the need
>> to lock so many files at once. What is it that you are trying to
>> achieve?
>>     
>
> Dont you remember? the backup story :-).
> Locking out the users during backup, the way it's done with 
> broken-by-design tools.
>
>   
Ahh. That's when you do 'svnadmin hotcopy' , and back up the hotcopy.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2299444

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: subversion disadavantages

Posted by "Mihamina Rakotomandimby (R12y)" <mi...@lab.vectoris.fr>.
On 05/18/2009 11:41 AM, B. Smith-Mannschott wrote:
>> 2: locking mechnaism is only available on file level and not on dir. level .
>> if i have thousand files and need lick all the files then i need lock file
>> one by one??. it's realy painful
>
> True. Though, I'd be *very* interested to know why you feel the need
> to lock so many files at once. What is it that you are trying to
> achieve?

Dont you remember? the backup story :-).
Locking out the users during backup, the way it's done with 
broken-by-design tools.

-- 
                              Chef de projet chez Vectoris
                                  Phone: +261 33 11 207 36
System: xUbuntu 8.10 with almost all from package install
    http://www.google.com/search?q=mihamina+rakotomandimby

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2297865

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: subversion disadavantages

Posted by "B. Smith-Mannschott" <bs...@gmail.com>.
On Mon, May 18, 2009 at 08:38, Irfan Sayed <ir...@gmail.com> wrote:
> Hi All,
>
> I came across two disadvantages of subversion

> 1: once file added in subversion, can not be deleted form database. yes we
> can delete the revesion but if i want to completeltly remove specific file
> from database and all the revesions then it can not be possible

True. And often discussed. Google for "svn obliterate", if you're curious.

> 2: locking mechnaism is only available on file level and not on dir. level .
> if i have thousand files and need lick all the files then i need lock file
> one by one??. it's realy painful

True. Though, I'd be *very* interested to know why you feel the need
to lock so many files at once. What is it that you are trying to
achieve?

// Ben

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2297772

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].