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

Re: Edit and commit file from RepoBrowser

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Tue, 24 Feb 2009 16:02:29 +0000

2009/2/24 <pvo_at_esi-group.com>:
> I would find useful to improve the RepoBrowser with a feature available in FileZilla :
> In FileZilla, you can edit a remote file in selecting the "Edit" item in the popup menu of the remote file.
> In fact, a copy of the remote file is copied in local and the edit application is launched from this local place.
> After modification, the browser is able to detect that the local file is modified and asks the user whether updating the remote file or not.
> If we want to do the same work with Tortoise, we need to perform CheckOut of folder, then edit, then commit, then delete the working copy.
> May it be possible to perform this action more efficiently in the RepoBrowser when we want to modify one file ?
> Adding a "Edit" (and perhaps "Edit with") menu item(s) in the contextuel popup menu of the file ?
> Is it possible to work only on this file in keeping in memory of the RepoBrowser from which path/revision it comes from, detect the modification and commit it ?
> Otherwise perhaps can we imagine using existing features this way :
>    -> the RepoBrowser creates a working copy in the TEMP folder (only with the selected file, in case the repository folder contains many other files !?),
>    -> when it detects a modification, then ask for commit,
>    -> if the commit is performed, delete (or propose to) the working copy.
>
> Is it possible to perform such improvement ?

No. Subversion needs a working copy for editing. OK it would in theory
be possible to create one automagically, but there are a load of
things to consider that you may not have thought of, like what happens
if someone else commits to the same file after your magic checkout.

Why don't you just checkout a working copy like everyone else does?

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=1221260
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-02-24 17:02:43 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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