Menu

#1 support for several workspaces

open
nobody
5
2002-07-30
2002-07-30
Anonymous
No

I need to access several perforce workspaces from one
project.
Because idea tries to call perforce always from the
client root directory only one workspace seems possible.
I solve the problem by calling a wrapper script which
changes to the correct directory first and then calls
perforce with the specified files:

#!/bin/bash
cd $1
shift
p4 "$@"

The call from idea looks like this:

$FileDir$ edit $FileName$

REQUEST: It would be cool, if Perfin could call my script
instead of p4 directly or if Perfin could change to the
right directory first!

Discussion


Log in to post a comment.

MongoDB Logo MongoDB