The following forum message was posted by  at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/3864737:

Hello,

We have a Git repository with multiple branches. Each branch should have its
own Pydev project because their sys.path is different sometimes (different
dependencies) and we use the Buildout recipe
[url=http://pypi.python.org/pypi/pb.recipes.pydev/]pb.recipes.pydev[/url] to
update the [i].pydevproject[/i] file accordingly.

However, given that in GIt all the branches would be available from the same
path and therefore only one of them can be active at a time, it seems like I
would only be able to have one Pydev project for all the branches, which means
that every time I switch branches, I'd have to go to "Project" -> "Properties"
-> "PyDev - PYTHONPATH" -> "Force restore internal info" and restart Eclipse.
What's worse, I'd have to check in the [i].pydevproject[/i] file, which is not
ideal given that we're a team.

The other solution would be to have one Git repository per branch, and have
a different checkout on each repository, which is not exactly the way things
should be done in Git.

Any suggestions? How do other people do?

Thanks in advance.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to