Hi all,

I'm subscribed to the Digest, I'm going to reply to every one of you here.

David Kelly <[email protected]> Dec 18 06:40AM -0600 ^

"svn status" from the command line will tell you what files are different vs the specified version in the repository.

I know that, but my working copy is in sync with my repository, that's not the issue. The problem is my production files are not always in sync with my SVN repository (in general, they are newer).


Guess I don't understand your question as I think svn does everything you are asking. Just "svn commit" the master working files from one server then for each server "svn update" and only those files which are different will be updated.

I'm not using SVN to maintain production file `in situ`. Files exist at 3 different places: in production (on the server), in the repository, and in my working copy. When I'm working on a server, I make changes in various files, or create new ones, I wait few hours or few days to make sure everything works fine, then I don't always remember what files have changed. Comparing manually the production directory tree and the working copy is a very painful and long process. I want to make that automatic. Before creating a shell script to do so, I would like to know if bbedit is able to compare a remote directory with a local directory. Like it does with 2 local directories. I'm already using BBEdit this way, for file-to-file comparison: I change one file server-side, and if I want to commit immediately. I compare this file with its local working copy using BBEdit "compare two front documents", merge changes to the local copy, and commit.


LuKreme <[email protected]> Dec 18 11:10AM -0700 ^

On 18-Dec-2010, at 02:22, Patrick Proniewski wrote:
> Short story: Is there a nice way to compare files from a remote directory tree with files from a local directory tree?

within BBEdit? I would use rsync to do this.

It's a possibility, yes. If I have to go "the shell script way", it will surely involve rsync. But the sole purpose of rsync would be to create a local copy of the production tree. I still want to use bbedit to compare file, because I want to review changes manually.


David Kelly <[email protected]> Dec 18 09:26PM -0600 ^

> Or am I missing something?


I think the O.P. is missing something when for some reason there is time to post an incomplete question to a mailing list but for some reason there isn't time to do an "svn commit". After which an "svn update" on the other server would put an end to the issue.

Your making assumptions here ;)
As I wrote above, I don't use SVN to put files in production. By the way, my problem is the production files are generally newer than those in SVN, so an update is not an option for me.

regards,
patpro

--
You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to