Change Lists are great but ...

May be it is a crazy idea but ...

Change Lists would have been even greater if it were possible to compile,
run and debug project based on change lists. For example I work on two
features one for tomorrow and one next week. I try to keep my tomorrow
changes in a separate change list to minimize impact on tomorrow build. But
there is no easy ways to test that this change list alone (without next week
change list) together with baseline code is consistent. It would be great if
I could tell IDEA to compile my project without "next week" change list
(baseline plus "tomorrow" change list) or something of this nature


4 comments
Comment actions Permalink

Hello Alex,

AR> May be it is a crazy idea but ...
AR>
AR> Change Lists would have been even greater if it were possible to
AR> compile, run and debug project based on change lists. For example I
AR> work on two features one for tomorrow and one next week. I try to
AR> keep my tomorrow changes in a separate change list to minimize
AR> impact on tomorrow build. But there is no easy ways to test that
AR> this change list alone (without next week change list) together with
AR> baseline code is consistent. It would be great if I could tell IDEA
AR> to compile my project without "next week" change list (baseline plus
AR> "tomorrow" change list) or something of this nature

You can do exactly that with TeamCity and the Remote Run feature. It will
send to the server the diffs of changes from only one changelist, and the
server will apply the diff to the latest VCS version and build the resulting
code.

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

I also think the developer needs to know when one change list conflicts with another. If I define 10 files in change set #1, and then I switch my development over to change set #2, I want to know, while I'm working on #2, if any of the changes I'm making cause files in #1 to be changed. Otherwise, when I go to check in #2 I will miss changes that are really part of #2 (especially refactoring changes that I don't manually type in).

Is there support for this? If there is I apologize. Either files need to be part of more than one change list, and/or, I need to tell IDEA which change list I am currently working on (via a popup in the main window), and an alert should pop up when I make a change to a file that is in a different change list.

- Eric

0
Comment actions Permalink

Hello Eric,

E> I also think the developer needs to know when one change list
E> conflicts with another. If I define 10 files in change set #1, and
E> then I switch my development over to change set #2, I want to know,
E> while I'm working on #2, if any of the changes I'm making cause files
E> in #1 to be changed. Otherwise, when I go to check in #2 I will miss
E> changes that are really part of #2 (especially refactoring changes
E> that I don't manually type in).
E>
E> Is there support for this? If there is I apologize. Either files
E> need to be part of more than one change list, and/or, I need to tell
E> IDEA which change list I am currently working on (via a popup in the
E> main window), and an alert should pop up when I make a change to a
E> file that is in a different change list.

Right now you do have the possibility to set the changelist you're working
on ("Set Active Changelist" action in the Changes view), but we do not warn
when modifying files in a non-active changelist. Adding such a warning looks
like a very good idea to me - I've filed a JIRA request for this.
http://www.jetbrains.net/jira/browse/IDEADEV-10656

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Great idea, that's got my vote.

N.

Dmitry Jemerov wrote:

Hello Eric,

E> I also think the developer needs to know when one change list
E> conflicts with another. If I define 10 files in change set #1, and
E> then I switch my development over to change set #2, I want to know,
E> while I'm working on #2, if any of the changes I'm making cause files
E> in #1 to be changed. Otherwise, when I go to check in #2 I will miss
E> changes that are really part of #2 (especially refactoring changes
E> that I don't manually type in).
E> E> Is there support for this? If there is I apologize. Either files
E> need to be part of more than one change list, and/or, I need to tell
E> IDEA which change list I am currently working on (via a popup in the
E> main window), and an alert should pop up when I make a change to a
E> file that is in a different change list.

Right now you do have the possibility to set the changelist you're
working on ("Set Active Changelist" action in the Changes view), but we
do not warn when modifying files in a non-active changelist. Adding such
a warning looks like a very good idea to me - I've filed a JIRA request
for this.
http://www.jetbrains.net/jira/browse/IDEADEV-10656

0

Please sign in to leave a comment.