[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

subversion issues

From: maheshwar singh <maheshwars_at_hotmail.com>
Date: Tue, 27 May 2008 16:19:43 +0000

Hi, to all the Subversion guru's out there. I use subversion as a versioning system for all our sales content. The content usually includes materials like PPT, PDF, DOC etc.I'm running into a few issues and have pasted them here, hoping for a response. I know subversion is optimised for this workflow, but want to use it as manual backups is causing a lot of grief. Sorry for the long email Q1:Does Subversion allow non-linear editing of versionscreate v1 -> put in VMS v1edit v1 to make v2 -> put in VMS v2edit v2 to make v3 -> put in VMS v3realise v3 is a mistake; get v2 from VMS to editso now system looks like: Local version v2 ; VMS version v3edit v2 to make v4 (or a new v3 depending on semantics) -> put in VMS**after adding to subversion I cannot see this version that I have added - where is it?
I cannot get it, if i look at history i see the 3 original versions - there is NO version 4 & the version 3 is the original version 3; if i say Get Latest Version or get v3 I get the original v3
 
The commands i have used in my program are:Add Resource:This is a combination of three commands, svn add $1 $2 $1- path of the resource to be added. (In all the cases below, it refers to the location of the resource in the workspace) svn commit $1 –m “$2” $1- path of the resource to be added.$2 – message to be passed by the user. svn update $1 $1- path of the resource to be updated. Checkin resource: svn commit $1 –m “$2” Get latest revision: svn update $1 Get revision: svn update $1 --revision $2 $1- path of the resource to be updated $2- the revision number of the resource that is to be obtained Q2.How can i lock a file or make other users aware that the file has been checked out by User A.I know subversion does not allow locking, i'm looking for any mechanism available that will warn User 1 that User 2 has checked out the file, User 1 can then call User 2 about the changes.What i need is a ability to warn User B about a ongoing modification to a original document by User A
 Q3.I delete a file from the local system due to a mistake, is there any way i can get a list of objects that exist in the subversion repository and not in the local system.Get file history: svn log $1 –xml –verbose $1- the repository URL location of the resource. Checkout a workspace(done for the first time): svn checkout $1 $2 –N $3$1- the repository URL location of the resource. $2- workspace path of the resource. $3- authorization parameters. Get workspace revision:svn status $1 –xml –verbose $1- workspace path of the resource.
 
Q4. When 2 users are have requested for latest version of same document and working on 2 different changesExample in a Sales Revenue reportUser 1 - Add Margin to the reportUser 2 - Add Discount to the reportBoth change are check in at the same time by the respective users. Only one user change is reflected and the other user change is lost. Is subversion able to resolve the conflict and allow users to Version all changes thanksMaheshwar

Placements ? No Problem. Register Here! Try it!

Live.in : Get your yourname_at_live.in email id today. Powered by Windows Live Hotmail. Check it out!
_________________________________________________________________
2000 Placements last year. Are You next ? Find out
http://ss1.richmedia.in/recurl.asp?pid=499
Received on 2008-05-27 18:20:08 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.