Re: Need Version Management System Recommendations

2011-07-13 Thread Charles Albrecht
On Jul 12, 2011, at 7:34 PM, Jack Stewart wrote:

> I am about to select a version management system for my Mac and used for 
> version management of web site pages and database management systems. I've 
> bee staring at CVS, Subversion and Perforce. There are probably others.

Talking about version control systems can be like talking about religion or 
politics. People tend to have opinions, strong opinions, and their experience 
tends to center around systems they've used extensively, mixed with heresay 
about products they haven't used.

I think you owe it to yourself to give a few of the top tools a try - even if 
it's just a matter of checking out source from public repositories to build a 
project. Preferably, though, a thorough test of versioning a website and 
stepping through what a likely workflow would look like with the various tools.

I feel that everyone should have experience with a traditionally centralized 
version control system and with a distributed system - so that they can be 
familiar with the strengths and drawbacks of each and, yes, develop an opinion 
on where they would gravitate toward one over the other in future situations as 
they arrive. The systems I'd recommend looking at have already been mentioned:

Centralized:
- Subversion
- Perforce
Distributed:
- Git
- Mercurial

Personally, my preferences are Perforce and Mercurial. But I recommend playing 
around with the systems and getting a sense for how they store versioned files, 
where state is maintained. Whether, for instance, perforce's default of locking 
files that aren't marked for editing stands more or less in the way than all 
the dot-directories that subversion scatters through your working directories. 
Whether the subversion/perforce approach of using paths to separate branches 
(as you might separate versions on a file server) is harder to keep straight 
than the distributed approach that git and mercurial take. And, though it's 
likely you'll be leveraging commandline tools for much of the work, do a survey 
of the graphical tools - including, of course, the BBEdit integration - for 
working with the repository, merging files together and resolving conflicts 
between revisions. It's also worth taking a look at github and bitbucket to see 
what they offer.

-Charles
 charl...@pobox.com

-- 
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 bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at

If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 


Re: Get a list of files found in a folder differences call

2009-06-29 Thread Charles Albrecht

You can use the diff(1) or rsync(1) comnandline tools to get this info  
out.

(with diff -r, you just keep the lines that start with "diff -r" or  
"Only in". With rsync, you use "-n" to see what it would copy.)

I don't know that you can get a list out of bbdiff, FileMerge  
(opendiff) or p4merge.

-Charles

On Jun 29, 2009, at 12:43 PM, Lee Hinde  wrote:

> Hi;
>
> Is there a way to get the list of files that have differences when
> using the Find Differences command to compare two folders? I.e., I'd
> like the list of files that have differences and the list of files
> that exist in one or the other.
>
> Thanks.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "supp...@barebones.com" 
rather than posting to the group.
-~--~~~~--~~--~--~---



Re: working with Perforce

2009-05-09 Thread Charles Albrecht

On May 9, 2009, at 7:33 AM, Daryl Spitzer wrote:
>
> Chuck,
>
> You may have to set P4EDITOR.  The documentation at
> http://www.perforce.com/perforce/doc.082/manuals/cmdref/env.P4EDITOR.html#1044292
> makes it sound like Perforce ignores the value of EDITOR (though that
> may be incorrect).
>
> Either way, the --wait command-line option to bbedit (as Jim suggests)
> is important.  (And --resume is convenient.)  See `man bbedit`.

Perforce will prefer P4EDITOR, but if EDITOR is set, it will use that.  
I set them to:

P4EDITOR="/usr/bin/bbedit --wait --resume --"

And similarly with

P4DIFF="/usr/bin/bbdiff --"
P4MERGE="/Applications/p4merge.app/Contents/MacOS/p4merge"

-Charles
  charl...@pobox.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "supp...@barebones.com" 
rather than posting to the group.
-~--~~~~--~~--~--~---