Python和版本控制

Python和版本控制

问题描述:

亲爱的朋友们,


如果你在一个

的Windows环境中工作,那么Python的终极版本控制工具是什么?


当您处理Visual C ++项目时,它很容易,使用Visual Source Safe

作为源代码!但是当谈到大型Python项目并且没有

通用Python IDE与版本控制集成可用时,

签入和签出文件并不那么简单。我是Emacs的热心用户,但

版本控制,这在Linux环境中非常简单,例如,
在Windows中并不简单。


使用

a Windows环境的Python开发人员最常用的方法是什么?


Carl

Dear friends,

What is the ultimate version control tool for Python if you are working in a
Windows environment?

When you work on a Visual C++ project then it''s easy, use Visual Source Safe
for your source code! But when it comes to large Python projects and no
universal Python IDE with version control integration is available,
checking in and out files is not as simple. I am a keen user of Emacs, but
version control, which is very simple when you are in a Linux environment,
for example, is not a straightforward in Windows.

What is the most common adopted approach among Python developers working in
a Windows environment?

Carl

Carl< ph *********** @ chello.se>写道:


[...]
Carl <ph***********@chello.se> writes:

[...]
我是Emacs的热心用户,但是版本控制,这很简单
当你是例如,在Linux环境中,在Windows中并不简单。
I am a keen user of Emacs, but version control, which is very simple
when you are in a Linux environment, for example, is not a
straightforward in Windows.



Emacs + CVS(或CVSNT)在Windows中应该可以正常工作。


-

谢尔盖。



Emacs + CVS (or CVSNT) should work just fine in Windows either.

--
Sergei.


Carl写道:
如果您在Windows环境中工作,那么Python的终极版本控制工具是什么?

在Windows环境中工作的Python开发人员中最常用的方法是什么?
What is the ultimate version control tool for Python if you are working in a
Windows environment?

What is the most common adopted approach among Python developers working in
a Windows environment?




我从不喜欢将两者结合在一起。相反

我使用像TortoiseCVS或(现在)TortoiseSVN这样的工具和一个

Subversion存储库。这些东西让您在浏览文件系统时,在

Windows资源管理器中访问上下文(右键)菜单中的修订版本

控制功能。


最好的部分是,无论使用哪种编辑器,它们都可以工作,或者你需要使用其他工具,而且你不会受到怜悯
$ b $一个贪婪的公司的b,决定你是时候升级你好b $ b升级所以你可以给他们更多的钱。当然,您也可以在适当的时候使用

命令行工具。


-


BTW,作为一般警告:虽然Visual Source Safe可能是简单,但它也很危险,并且已知会腐蚀许多代码库,我的包括在内。我不会用虚拟的10英尺长杆触摸产品

,我强烈推荐给任何人使用它的
... *特别是在多用途-programmer

环境* - 他们立即放弃它赞成

更稳定的东西。 (Google可以为任何感兴趣的人填写背景详细信息

。)

-Peter



I never liked coupling the two together like that. Instead
I use tools like TortoiseCVS or (now) TortoiseSVN with a
Subversion repository. These things let you access revision
control features from context (right-button) menus right in
Windows Explorer, as you browse the file system.

The best part is that they work regardless of which editor or
other tool you have to work with, and you aren''t at the mercy
of a greedy corporation that decides it''s time for you to
upgrade so you can give them more money. You can also use
the command line tools when appropriate, of course.

--

BTW, as a general caution: while Visual Source Safe may be
"easy", it''s also dangerous and has been known to corrupt
many a code base, mine included. I wouldn''t touch the product
with a virtual ten-foot pole, and I strongly recommend to anyone
who is stuck using it -- *especially in a multi-programmer
environment* -- that they immediately abandon it in favour
of something more stable. (Google can fill in background detail
for anyone interested.)

-Peter


Carl写道:
Carl wrote:
亲爱的朋友们,

如果您在Windows环境中工作,Python的终极版本控制工具是什么?

当您使用Visual C ++项目时,它很容易,使用Visual Source Safe
作为您的源代码!但是当谈到大型Python项目并且没有可用的版本控制集成的通用Python IDE时,检入和退出文件并不那么简单。我是Emacs的热心用户,但
版本控制,这在Linux环境中非常简单,例如,在Windows中并不简单。

在Windows环境中工作的Python开发人员最常采用的方法是什么?

Carl
Dear friends,

What is the ultimate version control tool for Python if you are working in a
Windows environment?

When you work on a Visual C++ project then it''s easy, use Visual Source Safe
for your source code! But when it comes to large Python projects and no
universal Python IDE with version control integration is available,
checking in and out files is not as simple. I am a keen user of Emacs, but
version control, which is very simple when you are in a Linux environment,
for example, is not a straightforward in Windows.

What is the most common adopted approach among Python developers working in
a Windows environment?

Carl



如果你可以集成PythonWin和版本控制知道

适当的咒语。 Vss曾经很好地工作,但我升级了,并且再次完成安装步骤不会让b $ b感到困扰。


问候

史蒂夫


You can integrate PythonWin and version control if you know the
appropriate incantation. Vss used to work fine, but I upgraded and
couldn''t be bothered to go through the installation steps again.

regards
Steve