Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: Can I prevent or avoid object duplication in different folders?

Project highlights: :. Download .: :. Support .: :. FAQ .: :. Translations .: :. Donate .: :. Report Bug .:

tortoisesvn
Discussion topic

2020-03-13: This site is going to be decommissioned and shut down very soon. Please copy and archive any data you wish to keep ASAP

Back to topic list

Re: Can I prevent or avoid object duplication in different folders?

Author doomster
Full name Ulrich Eckhardt
Date 2009-09-21 02:03:56 PDT
Message On Friday 18 September 2009, Marcio E. Kaneko wrote:
> We utilize Tortoise SVN in a 40 people group divided in 5 major areas.
>
> Say someone from area A has an object (like a stored procedure) under their
> responsibility and version it under their proper folder.
>
> Now say someone from area B try to create the same object in a different
> folder unnecessarily.
>
> How can I avoid this?
>
> I mean, there are any way to warn area B that area A has the same stored
> procedure versioned on the repository and ask for confirmation before
> duplicating it?
>
> Or... if I allow the duplications, there are any way to search out the
> repository to identify them?

Subversion is basically a tool for versioning files. As such, it neither cares
for the content of files, their names (provided the path inside the
repository is unique) or any meaning that some human might associate with it.
This basically means that your requirements are outside the scope of
Subversion and as such you won't find any support for them here.

However, apart from the purist file versioning, there is also the pragmatist
side. For that, you e.g. have hook scripts. For your particular case, I would
suggest a pre-commit hook that validates the commit and rejects it if it
doesn't suit your desires. That way, people trying to do something unwanted
will receive error messages.

A different approach is to regularly validate the content and send out a
summary to the team afterwards. That way, people are notified of shortcomings
and can issue according fixes.

Uli

--
ML: http://tortoisesvn.t​igris.org/list_etiqu​ette.html
FAQ: http://tortoisesvn.net/faq

Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932

********************​********************​********************​********************​******
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
********************​********************​********************​********************​******
           Visit our website at <http://www.satorlaser.de/>
********************​********************​********************​********************​******
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
********************​********************​********************​********************​******

« Previous message in topic | 3 of 3 | Next message in topic »

Messages

Show all messages in topic

Can I prevent or avoid object duplication in different folders? "Marcio E dot Kaneko" <mkaneko at usp dot br> "Marcio E dot Kaneko" <mkaneko at usp dot br> 2009-09-18 14:17:31 PDT
     Re: Can I prevent or avoid object duplication in different folders? KJ <kkjennings at sbcglobal dot net> KJ <kkjennings at sbcglobal dot net> 2009-09-18 18:27:16 PDT
     Re: Can I prevent or avoid object duplication in different folders? doomster Ulrich Eckhardt 2009-09-21 02:03:56 PDT
Messages per page: